Description Usage Arguments Details See Also
Replace missing data with random values
1 2 3 |
x |
a vector. |
replace |
should sampling be with replacement?
|
bw |
the smoothing bandwidth to be used. |
adjust |
the bandwidth used is actually |
preserve_var |
if |
na_random
replaces missing data with non-missing values drawn
from the data with, or without replacement. na_density
replaces
missing values with draws from Gaussian kernel density estimated on
the non-missing data. The preserve_var
argument for na_density
if set to TRUE
(default), leads to producing samples that have the same
variance as the original data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.