R: do not have nlme() and lmer() packages simultaneously loaded

I noticed when I was trying to display the summary of an lmer object using display() from the arm() package, I was getting this error:

Error in UseMethod("fixef") :
no applicable method for 'fixef' applied to an object of class "mer"

And I found from this post that you should not simultaneously have the nlme() and lmer() packages loaded. To detach a package, for instance, nlme(), you can do this (see R FAQ 5.2):


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s