check_covariance_matrix {oeli} | R Documentation |
This function checks whether the input is a symmetric, real matrix that fulfills the covariance matrix properties.
check_covariance_matrix(x, dim = NULL, tolerance = sqrt(.Machine$double.eps))
assert_covariance_matrix(
x,
dim = NULL,
tolerance = sqrt(.Machine$double.eps),
.var.name = checkmate::vname(x),
add = NULL
)
test_covariance_matrix(x, dim = NULL, tolerance = sqrt(.Machine$double.eps))
x |
Object to check. |
dim |
An |
tolerance |
A non-negative |
.var.name |
[ |
add |
[ |
Compare to check_matrix
.