get_cov | R Documentation |
If the input data is a square matrix, it is converted into a matrix, otherwise the covariance matrix is obtained.
get_cov(x, cor = FALSE)
x |
A dataframe or a matrix |
cor |
if TRUE, return correlation matrix. if FALSE, return covariance matrix |
The covariance or correlation matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.