Re: [R] suppress output of neural network for use in Sweave

From: Wensui Liu <liuwensui_at_gmail.com>
Date: Thu 16 Jun 2005 - 03:24:30 EST

could you set trace = FALSE in the nnet().

On 6/15/05, Thorstensen Nicolas <thorstensen@gmx.net> wrote:
> Hi!
>
> How can I suppress the output of the function nnet in the library(nnet) ?
>
> I get the following output :
>
> > nn = nnet(x, y, size=5, maxit=40, linout=TRUE);
> # weights: 16
> initial value 33.511291
> iter 10 value 5.792440
> iter 20 value 5.279584
> iter 30 value 4.800890
> iter 40 value 4.593410
> final value 4.593410
> stopped after 40 iterations
>
> Since I train many networks and use Sweave I donīt want the output in
> the latex code. So how can I suppress this output?
>
>
> thx
> jeff
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>

-- 
WenSui Liu, MS MA
Senior Decision Support Analyst
Division of Health Policy and Clinical Effectiveness
Cincinnati Children Hospital Medical Center

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Thu Jun 16 04:17:22 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:42 EST