I am studying a dichotomous outcome of an intervention. The data comes from multiple clustered data-sets. All datasets have some missing data. I have imputated the data-sets using MICE.
My plan is to use a mixed model, log-binomial distribution to calculate the overall relative risk.
x <- with(glmer(Outcome ~ Intervention + (1 | Cluster), data = Data, family = binomial(link = "log")))
I keep getting the error: 'cannot coerce class ‘"mids"’ to a data.frame"
I do not understand why this is. How can I overcome this problem?