Description Arguments Details Value Author(s) Examples
Impute by groups
dataframe |
A dataframe containing missing data to be imputed. |
... |
One or more grouping vectors by which |
method |
A character string specifying the method by which missing data should be imputed. One of “mean” (mean replacement; the default), “median” (median replacement), “draw1” (sample with replacement), or “draw2” (sample without replacement). |
Function to impute missing data in a dataframe, based upon grouping factor(s).
A dataframe
Thomas J. Leeper
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.