Isn't the initial value of the variable T equal to the constant TRUE?
So unless he's modified the value of T, shouldn't it work?
-s
On 7/7/09, Max Kuhn <[email protected]> wrote:
> Unlike Splus, R does not use T for TRUE.
>
> On Tue, Jul 7, 2009 at 6:05 PM, Michael<[email protected]> wrote:
>> Hi all,
>>
>> I've got the following error message in using e1071 svm routine...
>>
>> Could anybody please help me?
>>
>> Thank you!
>>
>> ---------------------------------
>> model <- svm(y=factor(mytraindata[, 1]), x=mytraindata[, -1],
>> probability=T)
>> Error in if (any(co)) { : missing value where TRUE/FALSE needed
>> In addition: Warning message:
>> In FUN(newX[, i], ...) : NAs introduced by coercion
>>
>> ______________________________________________
>> [email protected] mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide
>> http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>>
>
>
>
> --
>
> Max
>
> ______________________________________________
> [email protected] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.