Dear all,

Is there a way of using the step function on a linear model such that all the 
steps are not printed out?

Say I have a matrix X of 50 explanatory variables and a binary response Y.

linear_model<-glm(Y~X, data=my_data, family="binomial")
SS<-step(linear_model)

This last step produces all the output that would have been produced even if I 
hadn't named the result SS.

SS<-step(linear_model,print=FALSE) - this doesnt work either.

Does anyone have any ideas?

Thank you all in advance.

Best,
Pierre



      
        [[alternative HTML version deleted]]

______________________________________________
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.

Reply via email to