contains_constant: Check if matrix contains constant column(s)
Description
Check if matrix contains constant column(s)
Usage
contains_constant(x, eps = .Machine$double.eps)
Value
TRUE if one of the columns has standard deviation of below `eps``, else
FALSE.
Arguments
- x
Matrix or Data.frame.
- eps
Threshold for standard deviation below which a column is considered to be
constant.