Description Usage Arguments Details Examples
Returns a (biased) covariance matrix for a data matrix
1 |
x |
a data set |
varnames |
a list of variable names |
Accepts a data set and creates a $p\times p$ covariance matrix, where p is the number of variables. The function also accepts variable names that will be used to lable the columns of the matrix. These results are biased, as they use $\frac1n$ in the definition of the variance, rather than $\frac1n-1$.
1 | |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.