simongrund1/mitml

Error in mitmlComplete() with single missing value in categorical variables

Closed this issue · 0 comments

When there is only a single missing value in a categorical variable, mitmlComplete() gives the following error:

Error in `[<-.data.frame`(`*tmp*`, ind[fi, ], value = "1") :
 new columns would leave holes after existing columns