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(object, use.fallback = TRUE) : no 'nobs' method is available Any help? Thanks -- View this message in context: http://r.789695.n4.nabble.com/stepAIC-error-tp4407460p4407460.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.