Dryhurst, Sarah
2011-Oct-05 10:53 UTC
[R] anova.pgls not working for factors in univariate analyses
Hi there, I am running simple univariate analyses via CAPER and when trying to obtain a summary of my model using: anova.pgls(model1) It works for my analyses containing continuous explanatory variables but not for those containing categorical explanatory variables (both have a continuous response). For those analyses involving categorical explantories I am getting the error message: error in terms.formula(formula, data = data) : invalid model formula in ExtractVars summary.pgls(model1) works just fine for all models so the models involving categorical explanatories are definitely working, it's just I want the simplified anova output for ease when simplifying more complicated models later... Anyone know of the appropriate anova.pgls alternative? Sorry this is such a simple question! Thanks! Sarah [[alternative HTML version deleted]]