04pallav
9/13/2017 - 9:27 PM

finding and removing constant columns

finding and removing constant columns

### for numeric columns

names(df[, sapply(df, function(v) var(v, na.rm=TRUE)==0)])

####