is.pd(covmat)
1. Matrix is Hermitian
2. All covariances are within bounds
3. See if matrix is invertible using solve
4. Check if all eigenvalues are positive
5. Check whether the determinant is positive
is.within.bounds
and is.hermitian
.
data(latta)
is.pd(latta.greenhouse.cov)
Run the code above in your browser using DataLab