[R] Ordinal categorical data with GLM

kjetil halvorsen kjetilh at umsanet.edu.bo
Tue Oct 8 18:14:59 CEST 2002


something like cut(x, br=y) ?

Kjetil Halvorsen

Kenneth Cabrera wrote:
> 
> 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
> 
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> 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
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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