nearZeroVar {MUVR2} | R Documentation |
Identify variables with near zero variance
Description
Adapted and stripped down from mixOmics v 5.2.0 (https://cran.r-project.org/web/packages/mixOmics/).
Usage
nearZeroVar(x, freqCut = 95/5, uniqueCut = 10)
Arguments
x |
a numeric vector or matrix, or a data frame with all numeric data. |
freqCut |
the cutoff for the ratio of the most common value to the second most common value. |
uniqueCut |
the cutoff for the percentage of distinct values out of the number of total samples. |
Value
nzv object
Examples
data("freelive2")
nearZeroVar(XRVIP2)
data("mosquito")
nearZeroVar(Xotu)
[Package MUVR2 version 0.1.0 Index]