View source: R/helper_functions.R
nearpdf | R Documentation |
PD calibration
nearpdf(cormatrix, pda.method = "shrink", lmin = 0.1)
cormatrix |
input cormatrix |
pda.method |
"nearpd" or FALSE |
lmin |
the min threshold of eigenvalues |
cormatrix.pd, the positive-definite adjusted correlation matrix
lmin, the min threshold of eigenvalues
x = matrix(rnorm(100), ncol = 10)
nearpdf(cor(x), pda.method = "nearpd", lmin = 0.1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.