[R] nnet question

demiurg@post.tau.ac.il demiurg at post.tau.ac.il
Tue Aug 6 19:51:44 CEST 2002


I have a (most probably stupid) question about 
one of the nnet error messages that I can not 
understand :

Error in matrix(NA, length(keep), nout, dimnames = list(rn,
dimnames(object$fitted)[[2]])) : 
	length of dimnames[1] not equal to array extent

it happens in predict.nnet().

Here is my code :

iue.nnet <-  nnet.formula(FAMILY2 ~ FLUX.0+FLUX.1+FLUX.2+FLUX.3


data = spectra.log.family2.tiny, na.action = na.omit, size=2, MaxNWts=32000 );

iue.nnet.predict <- predict.nnet(iue.nnet, spectra.log.family2.tiny, type="class")

Thanks a lot...
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 at stat.math.ethz.ch

More information about the R-help mailing list