[R] figure out whether 1 is between two numbers

Taka Matzmoto sell_mirage_ne at hotmail.com
Sat Feb 18 06:20:44 CET 2006


Hi R users

I have two variables (X and Y)

X <-  rnorm(100,.7,.5)
Y <-  rnorm (100,.3,.1)

I like to know whether 1 is between each pair of X and Y or not.

Thanks

TM




More information about the R-help mailing list