Error in tutorial 09
Posted: Tue Aug 23, 2016 3:03 pm
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
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