[R] ? predict.nnet

About this list Date view Thread view Subject view Author view Other groups

Subject: [R] ? predict.nnet
From: Yves Gauvreau (cyg@sympatico.ca)
Date: Wed 02 Aug 2000 - 21:21:34 EST


Message-ID: <020a01bffc73$d26c1340$0201a8c0@Workgroup>

Hi,

I just want to point out a discrepancy between the documentation of predict.nnet & the function definition.

>?predict.nnet =>

predict.nnet package:nnet R Documentation

Predict New Examples by a Trained Neural Net

Description:

     Predict new examples by a trained neural net.

Usage:

     predict.nnet(object, x, type=c("raw","class"))

Arguments:

  object: an object of class `nnet' as returned by `nnet'.

       x: matrix or data frame of test examples. A vector is considered
          to be a row vector comprising a single case.

******************************************
>predict.nnet =>

predict.nnet <- function(object, newdata, type=c("raw","class"), ...)
{
  if(!inherits(object, "nnet")) stop("object not of class nnet")
...

This is on

platform Windows
arch x86
os Win32
system x86, Win32
status
major 1
minor 1.0
year 2000
month June
day 15
language R

and the nnet file is dated 7/19/00
********************************************

No offence intended.

Regards

Yves Gauvreau

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b25 : Thu 01 Feb 2001 - 16:14:18 EST