contains_constant | R Documentation |
Check if matrix contains constant column(s)
contains_constant(x, eps = .Machine$double.eps)
x |
Matrix or Data.frame. |
eps |
Threshold for standard deviation below which a column is considered to be constant. |
TRUE if one of the columns has standard deviation of below 'eps“, else FALSE.
Prints a warning if constant is found.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.