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, > > ______________________________________________ > [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.

