[R] Condition %in%

Mestat mestat at pop.com.br
Mon Sep 13 23:43:56 CEST 2010


Hi listers,
If I would like to check if a variable contains certain value, I would
write:
if (10 %in% x)
And If I would like to check the opposite, that 10 is not into x. How would
be?
Thanks in advance,
Marcio
-- 
View this message in context: http://r.789695.n4.nabble.com/Condition-in-tp2538110p2538110.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list