[R] Error running predict

Giorgio Garziano giorgio.garziano at ericsson.com
Tue Dec 22 11:57:14 CET 2015


You forgot to put the comma after "-intrain" in the following assignment:

testing <- spam[-intrain, ]

"make" is one of the data columns of spam dataset.

> colnames(spam)
[1] "make"


--
GG


	[[alternative HTML version deleted]]



More information about the R-help mailing list