Re: [R] using which to identify a range of values

From: Sebastian P. Luque <spluque_at_gmail.com>
Date: Fri, 18 Jul 2008 13:51:49 -0500

On Fri, 18 Jul 2008 11:42:09 -0700,
sj <ssj1364_at_gmail.com> wrote:

[...]

> a <- rnorm(1000, 100, 50) which( 100 < a <= 200)

> of course this doesn't work but illustrates what I ma trying to do, If
> anyone has suggestions I would greatly appreciate it

Have a look at ?&

-- 
Seb

______________________________________________
R-help_at_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.
Received on Fri 18 Jul 2008 - 18:55:22 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 18 Jul 2008 - 20:33:57 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive