I have an lme model object generated by lme from nlme. I also have lme4 loaded. Now I want to extract the variance components using VarCorr(). However, both packages have a function by that name. By default, R uses the lme4 version, which is not compatible with lme objects. How do I tell it to use the nlme version? Or delete the lme4 version from the search path?
Thanks.
I have an lme model object generated by lme from nlme. I also have
Share
In general you can specify what package you want to use a function from by using package::function() notation
should get you what you want.