[R] stepAIC: plot predicted versus observed

sergeetienneparent
2010-12-14T15:49:57Z

I figured out how to call coefficients and R? from the summary.

-----------------
fit<-lm(...) #multiple regression function
stepComp <- stepAIC(fit, direction="both")
summary(stepComp)$coef[1,1] #call first coefficient
summary(stepComp)$coef[1,2] #call Std. Error of first coefficient
summary(stepComp)$coef[2,1] #call second coefficient
#... so on...
#And the R? can be called by
summary(stepComp)$adj.r.squared #call adjusted R?
summary(stepComp)$r.squared #call multiple R?
--
View this message in context:
http://r.789695.n4.nabble.com/stepAIC-plot-predicted-versus-observed-tp3085991p3087345.html
Sent from the R help mailing list archive at Nabble.com.