[R] Binning

Gad Abraham gabraham at csse.unimelb.edu.au
Tue Mar 31 06:16:47 CEST 2009

Santosh wrote:
> Dear useRs...
> How do you all do binning of an independent variable using R? For example,
> observations of a dependent variable at times different from a nominal time.
> Are there any R functions that help with binning?

Have a look at ?cut.

Gad Abraham
MEng Student, Dept. CSSE and NICTA
The University of Melbourne
Parkville 3010, Victoria, Australia
email: gabraham at csse.unimelb.edu.au
web: http://www.csse.unimelb.edu.au/~gabraham

More information about the R-help mailing list