I have a list of linear regressions generated using lmList
(from lme4), similar to what was done here:
Now I want to compare these models using an ANOVA.
I've tried this:
anova(models_list)
but I get this:
Error in UseMethod("anova") :
no applicable method for 'anova' applied to an object of class" c('lmList4', 'list', 'vector')"
So then I tried this:
anova.lmlist(models_list)
but I get an error saying it can't find this function, even though it appears to be part of the base stats package.