[R] Number in interval

Manuel K. b8220126 at klzlk.com
Sun Jul 17 16:54:47 CEST 2011


Hi all, 

I have an interval (e.g [-3,3]) and a numeric vector z (-1.4,0.5,4.7). How
can I test whether an element in z lies between between -3,3? I particularly
need a TRUE/FALSE response.

Thanks
Manuel  

--
View this message in context: http://r.789695.n4.nabble.com/Number-in-interval-tp3673537p3673537.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list