[R] Problem with any()
Jonas Mandel
jonas.mandel at curie.fr
Fri Sep 24 11:10:47 CEST 2010
Hello,
try this way : any(as.integer(c(1, 3))==3)
cheers,
Jonas
Christofer Bogaso a écrit :
> Hi I have following line of code:
>
>> any(as.integer(c(1, 3))) == 3
> [1] FALSE
>
> Shouldn't I expect it is true?
>
> Thanks,
>
> ______________________________________________
> R-help at r-project.org 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.
>
>
More information about the R-help
mailing list