<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2919.6307" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Hi,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>I just want to point out a discrepancy between the
documentation of predict.nnet & the function definition.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>>?predict.nnet =></FONT></DIV>
<DIV> </DIV>
<DIV><FONT
size=2>predict.nnet
package:nnet
R Documentation</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>Predict New Examples by a Trained Neural Net</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>Description:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2> Predict new examples by a trained
neural net.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>Usage:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2> predict.nnet(object, x,
type=c("raw","class"))</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>Arguments:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2> object: an object of class `nnet' as returned by
`nnet'. </FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2> x: matrix or data frame
of test examples. A vector is
considered<BR> to be a row
vector comprising a single case. </FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>******************************************</FONT></DIV>
<DIV><FONT size=2>>predict.nnet =></FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>predict.nnet <- function(object, newdata,
type=c("raw","class"), ...)<BR>{<BR> if(!inherits(object, "nnet"))
stop("object not of class nnet")</FONT></DIV>
<DIV><FONT size=2>...</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>This is on</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>platform Windows <BR>arch
x86
<BR>os Win32
<BR>system x86,
Win32<BR>status
<BR>major 1
<BR>minor 1.0
<BR>year 2000
<BR>month June
<BR>day
15 <BR>language R </FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>and the nnet file is dated 7/19/00</FONT></DIV>
<DIV><FONT size=2>********************************************</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>No offence intended.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>Regards</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>Yves Gauvreau</FONT></DIV>
<DIV> </DIV></BODY></HTML>