Description Usage Arguments Author(s) Source
View source: R/auxiliary_positive.definite.R
This function computes the nearest positive definite of a real symmetric
matrix. See help("make.positive.definite")
from package
corpcor
.
1 | make.positive.definite(m, tol)
|
m |
a matrix (assumed to be real and symmetric) |
tol |
tolerance for singular values and for absolute eigenvalues - only those with values larger than tol are considered non-zero (default: tol = max(dim(m))*max(D)*.Machine$double.eps) |
Original version by Korbinian Strimmer
Juliane Schaefer, Rainer Opgen-Rhein, Verena Zuber, A. Pedro Duarte Silva and Korbinian Strimmer. (2011). corpcor: Efficient Estimation of Covariance and (Partial) Correlation. R package version 1.6.0. https://CRAN.R-project.org/package=corpcor
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.