Hi Christofer,

I have just repeated this and changed the code a little and it gives the 
correct result

> any(as.integer(c(1, 3)) == 3)
[1] TRUE
> any(as.integer(c(1, 3)) == 2)
[1] FALSE
> any(as.integer(c(1, 3)) == 1)
[1] TRUE


HTH

Chris

On 24 Sep 2010, at 10:07, Christofer Bogaso wrote:

> any(as.integer(c(1, 3))) == 3

______________________________________________
R-help@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.

Reply via email to