p.clean | R Documentation |
Clean data by eliminating predictors with many missing values
p.clean(x, missing = 0.1, lowest = 10)
x |
A data matrix (raw: samples, col: predictors). |
missing |
A ratio of missing values in each column allowed to be remained in the data. |
lowest |
The lowest value recognized in the data. |
A data matrix (raw: samples, col: qualified predictors)
Takahiko Koizumi
data(Pinus) train.raw <- Pinus$train ncol(train.raw) train <- p.clean(train.raw) ncol(train)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.