Displaying 1 result from an estimated 1 matches for "classifiedposit".
2011 Feb 26
1
invalid type (list) for variable
...local : num 3 2 1 1
$ mcleodusa : num 15 6 2 10
$ network : num 9 1 2 1
$ provid : num 4 3 1 2
$ servic : num 11 4 3 6
$ share : num 9 5 3 5
$ splitrock : num 18 6 4 5
$ stock : num 3 3 1 2
$ classifiedPositive:List of 4
..$ : chr "yes"
..$ : chr "yes"
..$ : chr "yes"
..$ : chr "yes"
..- attr(*, "class")= chr "AsIs"
and the command:
NaiveBayes.model <- NB(classifiedPositive ~ ., data = factivaTDM.train)
generates the error:...