View source: R/filter_missing_values.R
filter_missing_values | R Documentation |
Given an input matrix, compute the missingness rate for each features and keep only features with missing rate more than user-defined percentage.
filter_missing_values(x, max_miss_rate = 20)
x |
A numeric matrix as input. |
max_miss_rate |
Maximal missing rate allowed for a feature;default is 20. |
filter_missing_values
A dataframe with features with missingness rate of more than user-defined threshold.
Matineh Rahmatbakhsh, matinerb.94@gmail.com
x <- matrix(1:10, ncol = 2)
x[, 2] <- NA
filter_missing_values(x, 30)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.