Hello,
How can I display the 3 best models of StepAIC so I can write them on a table?
My models are as follows:
library(MASS)
stepboth1=stepAIC(crash.glm,k=2, direction = "both", keep=NULL, scope = list(upper=~.^2,lower=~1))
stepboth2=stepAIC(crash.glm, k=log(nrow(mydata)), direction = "both", keep=NULL,scope = list(upper=~.^2,lower=~1))
stepboth3=stepAIC(crash.glm, k=log(log(nrow(mydata))), direction = "both", keep=NULL, scope = list(upper=~.^2,lower=~1))
Many thanks in advance!!