[R] how to suppress the output from stepAIC?

mohamed.lajnef at inserm.fr mohamed.lajnef at inserm.fr
Tue Nov 10 22:35:52 CET 2009


Hi Jack,

try stepAIC with trace parameter: stepAIC(...,trace=FALSE)

Regards,
M

Jack Luo <jluo.rhelp at gmail.com> a écrit :

> Hi,
>
> I am now running a cross-validation using coxph coupled with stepAIC for
> model selection, is there anyway to suppress the output? It's too much.
>
> -Jack
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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.
>




More information about the R-help mailing list