na.replace.dist {siggenes} | R Documentation |
Replaces missing values by the distribution of the levels.
na.replace.dist(x)
x |
a vector |
Each missing value is replaced by a random draw from the levels
of x
, where the probability that a specific level is
drawn is given by the number of non-missing values of x
having this level divided by the number of
non-missing values of x
.
the vector x
with missing values replaced by the described
method
Holger Schwender, holger.schw@gmx