Description Usage Arguments Details Value See Also Examples
Identifies any zero entries along the diagonal of a matrix.
1 |
cov |
a matrix. |
Intended to be a helper function for flagging zero variance variables whenever the input is a covariance matrix. A covariance matrix containing zeros on the diagonal will be singular; and hence, non-invertible.
remove_vars
locations of zero entries.
remove_length
number of zero entries.
remove_text
a message detailing an action taken by the covariance check wrapper function cov_check()
.
1 2 3 4 | cov1 <- diag(c(1,0,3,0))
cov2 <- diag(1:4)
cov_diag_check(cov1)
cov_diag_check(cov2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.