cor2pcor | R Documentation |
Converts a correlation matrix to a partial correlation matrix
cor2pcor(R)
R |
correlation matrix |
Partial correlation matrix
R <- matrix(.6, nrow = 3, ncol = 3)
diag(R) <- 1
cor2pcor(R)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.