[R] Select intervals of values from a variables.
Prof Brian Ripley
ripley at stats.ox.ac.uk
Thu Aug 7 12:32:50 CEST 2003
Is
varx[varx > lower.limit & varx < upper.limit]
what you are looking for?
On Thu, 7 Aug 2003, Michele Grassi wrote:
> How can i select interval of values from a variables?
> I can ordinate my variable and use es.group1<-varx[1:12]
> if the limit values are linked to first and 12th
> observation.
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help
mailing list