Hi,
I am working through tutorial 09: http://www.bristol.ac.uk/cmm/media/r2ml ... rGuide09.R
Buty I am getting the following error:
> (mymodel4 <- runMLwiN(logit(use) ~ 1 + lc + age + (1 | district), D = "Binomial", data = bang))
Error in UseMethod("droplevels") :
no applicable method for 'droplevels' applied to an object of class "c('double', 'numeric')"
Any ideas?
Thanks
Error in tutorial 09
-
- Posts: 1384
- Joined: Mon Oct 19, 2009 10:34 am
Re: Error in tutorial 09
This looks like the same error as in https://www.cmm.bristol.ac.uk/forum/vie ... f=7&t=1518, which should have been fixed in the current development version. Unfortunately the github mirror does not appear to have been updating recently, so I have attached the latest development version to this topic. Could you try again with this and see if you experience the same problem? If so I will look into it in more detail.
- Attachments
-
- R2MLwiN_0.8-3.tar.gz
- (334.95 KiB) Downloaded 513 times
Re: Error in tutorial 09
Thanks, Chris. I will have a look.