powered by
Removes columns with zero variance.
drop_constant_columns(X, eps = 1e-12)
cleaned matrix
input matrix/dataframe
for param eps
Provides functionality for drop_constant_columns operations.
VectorForgeML-package
x <- data.frame(a=c(1,1,1), b=c(1,2,3)) drop_constant_columns(x)
Run the code above in your browser using DataLab