sum(M[1]<12 & 12<=M[2]) untested, no data --------------------------------------------------------------------------- Jeff Newmiller The ..... ..... Go Live... DCN:<jdnew...@dcn.davis.ca.us> Basics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing Research Engineer (Solar/Batteries O.O#. #.O#. with /Software/Embedded Controllers) .OO#. .OO#. rocks...1k --------------------------------------------------------------------------- Sent from my phone. Please excuse my brevity.
Jim Silverton <jim.silver...@gmail.com> wrote: >Hi, >I have a 2 x 10000 matrix of confidence intervals. The first column is >the >lower and the next column is the upper. I want to cont how many times a >number say 12 lies in the interval. Can anyone assist? ______________________________________________ R-help@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.