Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in get(fn) : object 'mice.impute.21.poisson' not found #2

Open
dr-jojo opened this issue Aug 9, 2021 · 0 comments
Open

Error in get(fn) : object 'mice.impute.21.poisson' not found #2

dr-jojo opened this issue Aug 9, 2021 · 0 comments

Comments

@dr-jojo
Copy link

dr-jojo commented Aug 9, 2021

I keep getting this error: Error in get(fn) : object 'mice.impute.21.poisson' not found
I can get it to work with just regular poisson, but I have a multilevel model. Any help is appreciated

ini=mice(dlong.simp, maxit = 0)
meth=ini$method
pred=ini$predictorMatrix
meth["risk"]= "21.poisson"
pred["risk", ]= c(-2, 1, 1, 1, 1, 1, 1, 2, 0 )

imp=countimp(data=dlong.simp, m=5, method=meth, predictorMatrix=pred, print=FALSE)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant