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