Hi all,

I take a simple dataset like this:

-1.3
1
-1.5
-1
1.5
-2.5
3
-0.5

Now I want to count how many values there are between -2 and 2.

The answer here would be 6.

Can anyone do this with R?

Thank you in advance.

Gr. Bosken 
-- 
View this message in context: 
http://n4.nabble.com/Count-between-interval-tp1564537p1564537.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
[email protected] 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.

Reply via email to