[R] nnet trouble

Sirotkin, Alexander demiurg at ti.com
Fri Aug 9 11:13:10 CEST 2002


Hi.

I've spent a few days trying to use nnet package on a data other
that the example iris3 without any success.

I keep getting

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

in predict() function on a data that looks absolutely similar to the 
example (except for
actual values and field names, of course).

Any1 can suggest anything I can try ? Is the package supposed to work at 
all ?

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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