View source: R/simple_impute.R
simple_impute | R Documentation |
Wrapper for sample
simple_impute(n, vals, weight_var)
n |
The number of missing values to impute. |
vals |
The values to sample from (with replacement). |
weight_var |
Variable from which to compute relative frequencies of |
A vector of length n
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.