Description Usage Arguments Details Value Author(s) References See Also Examples
Simple random imputation of missing values in given data set.
1 | random.imp(data, imp.method = c( "bootstrap", "pca" ) , ...)
|
data |
A vector, matrix, or data frame with missing data. |
imp.method |
Character to specify which method of random imputation to use. Default is "bootstrap". Note: pca is not implemented in the current version. |
... |
Unused |
Impute missing values based on the observed data for the variable.
Data with its missing values imputed using the specified method.
Masanao Yajima yajima@stat.columbia.edu, M.Grazia Pittau grazia@stat.columbia.edu, Andrew Gelman gelman@stat.columbia.edu
Andrew Gelman and Jennifer Hill. (2006). Data Analysis Using Regression and Multilevel/Hierarchical Models. Cambridge University Press.
1 2 | data(CHAIN)
data.imp <- random.imp(CHAIN)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.