powered by
cov2pcor calculates the partial correlation matrix from an (empirical) covariance matrix while conc2pcor calculates the partial correlation matrix from a concentration matrix (inverse covariance matrix).
cov2pcor
conc2pcor
cov2pcor(V)conc2pcor(K)
conc2pcor(K)
Covariance matrix
Concentration matrix
A matrix with the same dimension as V.
# NOT RUN { data(math) S <- cov.wt(math)$cov cov2pcor(S) # }
Run the code above in your browser using DataLab