You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would expect the following to work based on the semTools help page:
library(mice)
library(semTools)
# impute dataimp<- mice(nhanes, m=5, seed=54321)
# check that imp is a list as sem.mi as manual says “Ignored if data is already a list of imputed data set”
is.list(imp)
# create simple lavaan model mod<-" chl ~ 1 + age + bmi + hyp“# mi runs(?) and complains fit.mi <- sem.mi(model = mod, data = imp)summary(fit.mi)
However, it doesn't. I have fixed this by adding the following to runMI():
I would expect the following to work based on the semTools help page:
However, it doesn't. I have fixed this by adding the following to
runMI()
:I can submit a pull request.
The text was updated successfully, but these errors were encountered: