I noticed that you use as.data.frame before write.table (see here) for both normal and imputed datasets. Any reason behind this? As Mplus only takes numerical data (or so I believe), you could consider as.matrix instead, which apparently would be a 6x speed improvement, without having to depend on other packages. (matrices can still have colnames, should you need it)
I noticed that you use
as.data.framebeforewrite.table(see here) for both normal and imputed datasets. Any reason behind this? As Mplus only takes numerical data (or so I believe), you could consider as.matrix instead, which apparently would be a 6x speed improvement, without having to depend on other packages. (matrices can still have colnames, should you need it)