[R] how to make categorization

Kenneth Cabrera krcabrer at perseus.unalmed.edu.co
Tue Oct 8 15:13:19 CEST 2002

Hello Dear R List:

> Is there an easy way (one line command, or at least without "for") to 
> make a
> categorization of a continuos variable that I have in a vector, say 
> "x", and the
> limits of the categories in other vector, say "y". The vector "x" is 
> 10000 length
> and the "y" vector is 101 length for 100 categories, where rank of "x" 
> is narrow
> or at least the same than the rank of "y".
> Thank you for your ideas.

Kenneth Roy Cabrera Torres
Unviersidad Nacional de Colombia, Sede Medellín
Instituto de Ciencias Naturales y Ecología
Escuela de Geociencias
e-mail krcabrer at unalmed.edu.co
Tel +57 (4) 430-9351

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list