The function allows the user access to missMDA imputation in the A approach.
missMDA.reuse(
train_data,
new_data,
col_type = NULL,
ncp,
random.seed = NULL,
maxiter = 998,
coeff.ridge = 1,
threshold = 1e-06,
method = "Regularized",
MFA = FALSE,
MFA_Object = NULL
)
data.frame used for treining.
data.frame. Df to impute with column names and without target column.
character vector. Vector containing column type names.
return when the training data set was imputed.
Integer, by default random.seed = NULL implies that missing values are initially imputed by the mean of each variable. Other values leads to a random initialization
maximal number of iteration in algortihm.
Value use in Regularized method.
threshold for convergence.
method used in imputation algoritm.
If TRUE MFA is used if not MCA, PCA, or FMAD algorithm.
Object produce by missMDA_MFA required to perform MFA imputation.
Function use the same trick as in mice.reuse (new data are changed in NA in imputation stage and added back after it ). Because in missMDA is impossible to completely ignore new rows. We set their weights on 1e-300 when weights in the training set equal 1.