Constructor for vimmi objects
new_vimmi(
data,
imp,
where,
m,
nmis,
method,
boot,
uncert,
call,
tuning_log = NULL,
chain = NULL,
seed = NULL,
model_error = NULL
)A vimmi object
Original data.frame/data.table with NAs intact
Named list: per variable with missings, a data.frame with nmis rows and m columns of imputed values
Logical matrix indicating which cells were imputed
Number of imputations
Named integer vector of missing counts per variable
Named list of methods used per variable
Logical: was bootstrap used?
Character: uncertainty method used
The original function call
Optional tuning report from the (single) tuning run, shared by all m imputations; NULL when tuning was not requested
Optional per-iteration chain statistics:
list(mean = , var = ) of arrays with dimensions
[variable, iteration, imputation] holding the mean and variance of
the imputed values of each numeric variable after each sequential
iteration (the basis of plot.vimmi trace plots)
The seed applied at entry of the vimpute() call
(NULL when none was set)
Optional per-variable model-quality list (NRMSE/PFC,
from the first imputation run), as in attr(result, "model_error")
of single runs