naImpute | R Documentation |
Function used to fill NAs with imputation values, while adding NA flags to the data.
naImpute(FMLA, DATA, impfn = median, na.rm = TRUE, include.NA.flags = TRUE)
FMLA |
Formula |
DATA |
Data |
impfn |
Function for imputing. |
na.rm |
What to do with NA's |
include.NA.flags |
Should NA flags be included |
Structure
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.