powered by
Adapted and stripped down from mixOmics v 5.2.0 (https://cran.r-project.org/web/packages/mixOmics/).
nearZeroVar(x, freqCut = 95/5, uniqueCut = 10)
nzv object
a numeric vector or matrix, or a data frame with all numeric data.
the cutoff for the ratio of the most common value to the second most common value.
the cutoff for the percentage of distinct values out of the number of total samples.
data("freelive2") nearZeroVar(XRVIP2) data("mosquito") nearZeroVar(Xotu)
Run the code above in your browser using DataLab