[R] using which to identify a range of values

Sebastian P. Luque spluque at gmail.com
Fri Jul 18 20:51:49 CEST 2008


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



More information about the R-help mailing list