p.clean {PLORN} | R Documentation |
Clean data by eliminating predictors with many missing values
Description
Clean data by eliminating predictors with many missing values
Usage
p.clean(x, missing = 0.1, lowest = 10)
Arguments
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. |
Value
A data matrix (raw: samples, col: qualified predictors)
Author(s)
Takahiko Koizumi
Examples
data(Pinus)
train.raw <- Pinus$train
ncol(train.raw)
train <- p.clean(train.raw)
ncol(train)
[Package PLORN version 0.1.1 Index]