Description Usage Arguments Value Examples
View source: R/variance_thresholding.R
Find out about the variance of each feature and filter out the ones below a certain threshold
1 | variance_thresholding(data, threshold = 0)
|
data |
tibble. The features to select from |
threshold |
double. The variance threshold |
double vector. The indexes of selected features
1 2 3 | data <- data.frame(x1=c(1,2,3,4,5), x2=c(0,0,0,0,0), x3=c(1,1,1,1,1))
variance_thresholding(data)
# [1] 1
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.