Impute Missing Values by median/mode.
a data frame or numeric matrix.
further arguments special methods could require.
A completed data matrix or data frame. For numeric variables,
NAs are replaced with column medians. For factor variables,
NAs are replaced with the most frequent levels (breaking ties
at random). If
object contains no
NAs, it is returned
This is used as a starting point for imputing missing values by random forest.
1 2 3 4 5 6 7 8