# no applicable method for 'anova' applied to an object of class

#### vaschoepfer

##### New Member
I am running a model in the latest version of R and it goes through.

Code:
fullmodel=lm(Rate~Month*Depth*Moly*WatexCl*WatexSO4*WatexDOC*PWClumoles*PWSO4umoles*TotalFe*DaysInundated, data=FeRed2012)

anova(fullmomdel)
My anova table comes back with a term that is not significant. I want to eliminate this term, and I do by the drop1 command.

Code:
m2=drop1(fullmodel, scope=~Month*Depth*Moly*WatexSO4)
I want the anova table for this, so I type

Code:
anova(m2)
And I get the response

Code:
Error in UseMethod("anova") : no applicable method for 'anova' applied to an object of class "c('anova', 'data.frame')"
What am I doing wrong?

Thanks