Displaying 1 result from an estimated 1 matches for "cvc_lda".
2010 Jun 02
1
nnet: cannot coerce class c("terms", "formula") into a data.frame
...o 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.nabble.com/file/n2240582/test_vowels.txt test_vowels.txt
Question: when I am attempting to run
>cvc_nnet <- nnet(G ~ ., data=cvc_lda, size=1,iter=10,MaxNWts=100)
I get an error saying:
Error in as.data.frame.default(x[[i]], optional = TRUE) :
cannot coerce class c("terms", "formula") into a data.frame
I have not encountered this error when I was running this script with
previous lda results, and, I am not...