View source: R/local_imputaiton.R
| localImputation | R Documentation |
Function to generate imputations using non-parametric and semi-parametric local imputation methods.
localImputation(
i,
preds,
y,
delta,
bw = NULL,
kernel = c("gaussian", "uniform", "triangular")
)
i |
integer referring to the index of the missing value to be imputed. |
preds |
numeric vector of predictions of missing values from SuperLearner. |
y |
numeric vector for variable to be imputed. |
delta |
binary vector of length |
bw |
|
kernel |
one of |
numeric vector of randomly drawn imputed values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.