Return correlation coefficients.
Please refer to the documentation for cov for more detail. The relationship between the correlation coefficient matrix, P, and the covariance matrix, C, is
The values of P are between -1 and 1.
Parameters: | m : array_like
y : array_like, optional
rowvar : int, optional
bias : int, optional
|
---|---|
Returns: | out : ndarray
|
See also