[R] suppress output of neural network for use in Sweave
Thorstensen Nicolas
thorstensen at gmx.net
Wed Jun 15 17:53:06 CEST 2005
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
More information about the R-help
mailing list