Thank you Jim, Steve and David.
I found findIntervals to work best for my problem.
Manuel
--
View this message in context:
http://r.789695.n4.nabble.com/Number-in-interval-tp3673537p3674969.html
Sent from the R help mailing list archive at Nabble.com.
_
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-tp367353
2 matches
Mail list logo