Re: [R] figure out whether 1 is between two numbers

From: jim holtman <jholtman_at_gmail.com>
Date: Sat 18 Feb 2006 - 16:48:05 EST

(X < 1) & (Y > 1)

On 2/18/06, Taka Matzmoto <sell_mirage_ne@hotmail.com> wrote:
>
> 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
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
>

--
Jim Holtman
Cincinnati, OH
+1 513 646 9390

What the problem you are trying to solve?

	[[alternative HTML version deleted]]

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Sat Feb 18 16:51:43 2006

This archive was generated by hypermail 2.1.8 : Mon 20 Feb 2006 - 14:08:41 EST