is_covariance_matrix | R Documentation |
This function checks if the input is a proper covariance matrix, i.e. a symmetric, numeric matrix with non-negative eigenvalues.
is_covariance_matrix(x)
x |
A matrix. |
A boolean, TRUE
if x
is a proper covariance matrix.
x <- diag(2) RprobitB:::is_covariance_matrix(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.