cov2pcor: Convert a covariance or correlation matrix to partial...

Description Usage Arguments Value

Description

Convert a covariance or correlation matrix to partial correlation matrix

Usage

1
cov2pcor(x, tol = 1e-06)

Arguments

x

a correlation matrix or a covariance matrix. either yields the same results.

tol

tolerance for near-zero eigenvalues in the matrix inversion. values lower than this are considered zero.

Value

a partial correlation matrix


abnormally-distributed/cvreg documentation built on May 3, 2020, 3:45 p.m.