Re: [R] suppress output from step function

2009-04-23 Thread Jorge Ivan Velez
Dear Pierre, See argument trace in ?step. Setting up trace=FALSE in your code should hide the steps: step(linear_model, trace=FALSE) HTH, Jorge On Thu, Apr 23, 2009 at 6:34 PM, Pierre Moffard wrote: > Dear all, > > Is there a way of using the step function on a linear model such that all >

[R] suppress output from step function

2009-04-23 Thread Pierre Moffard
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 a