Description Usage Arguments Value
is_empty_matrix
takes a matrix and tests if it contains all 0s.
1 | is_empty_matrix(x, tol = .Machine$double.eps)
|
x |
A matrix to test. |
tol |
Tolerance precision to eliminate all abs(x) values below |
A boolean. TRUE if the matrix contains all 0s, FALSE if the matrix does not.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.