Replace missing values with value randomly drawn from x
1 2 3
additional arguments passed to
na.random replaces missing values by sampling the non-missing values. By
default aampling occurs with replacement since more valuables may be needed than
are available. This function is based on
The default is to replace bv sampling a population defined by the
non-missing values of
.x with replacement
na.random is an alias for
na.bootstrap is non-deterministic. Use
base::set.seed() to make it deterministic
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.