Re: [R] stepAIC error

2012-02-21 Thread Ben Bolker
labbig windowslive.com> writes: > > i am trying to run stepwise regression for two models(lower,upper), > family=gamma > and i get the same error despite the models i use. > > Error in UseMethod("extractAIC") : > no applicable method for 'extractAIC' applied to an object of class > "formula"

[R] stepAIC error

2012-02-21 Thread labbig
i am trying to run stepwise regression for two models(lower,upper), family=gamma and i get the same error despite the models i use. Error in UseMethod("extractAIC") : no applicable method for 'extractAIC' applied to an object of class "formula" In addition: Warning message: In nobs.default(obje