Re: [R] nnet: cannot coerce class c("terms", "formula") into a data.frame

2010-06-02 Thread Joris Meys
Without checking R or the rest of the code, the error seems quite clear to me: R finds a formula where it expects a data frame. cvc_lda is not a dataframe. Do str(cvc_lda) to check for yourself. You really need to learn this btw. Whenever you get an error, first thing to do is to check whether ever

[R] nnet: cannot coerce class c("terms", "formula") into a data.frame

2010-06-02 Thread cobbler_squad
Dearest all, Objective: I am now learning neural networks. I want to see how well can train an artificial neural network model to discriminate between the two files I am attaching with this message. http://r.789695.n4.nabble.com/file/n2240582/3dMaskDump.txt 3dMaskDump.txt http://r.789695.n4.nab