Transforms an SPD matrix into a matrix of partial correlations
Usage
spd.correlation(x, method = "correlation")
Arguments
- x
An SPD matrix to be whitened
- method
A string specifying either "correlation" (default) orf
"partial" correlation.
Value
A symmetric, positive-definite matrix.