mice with() function #368
Replies: 4 comments
-
Your model has a predictor that is a See e.g. the following reproducible example where the subset of lm(Sepal.Length ~ Sepal.Width + Species,
data=iris[iris$Species == "setosa", ]) All the best, Gerko |
Beta Was this translation helpful? Give feedback.
-
Closing as it is not related to |
Beta Was this translation helpful? Give feedback.
-
By the way: |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot! I could solve the problem. |
Beta Was this translation helpful? Give feedback.
-
Hi all!
I'm using mice package following recommendations of Zhang here in this paper (DOI: 10.3978/j.issn.2305-5839.2015.12.63). After completing mice() step, with() function does not work with my mids output object:
I checked my variable "sex" is as.factor.
with() function of mice() package does not appear in my R session, only with() from base, which I think it does not accept mids object and consequently it gives me that error. mice::with does not work neither.
When I ask for help (?with.mids) it appears, but documentation specify with() and with.mids() does not exists.
Does anyone know why it occurs? Thank a lot!
Beta Was this translation helpful? Give feedback.
All reactions