[R] Complex binning?

Bert Gunter gunter.berton at gene.com
Fri Sep 11 01:22:33 CEST 2009


reshape  (the package, not the base R function)

There may well be others...

Bert Gunter
Genentech Nonclinical Biostatistics

-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On
Behalf Of Mark Knecht
Sent: Thursday, September 10, 2009 3:55 PM
To: r-help
Subject: [R] Complex binning?

   I need to do some binning which to date I've done just writing
subset commands. I'm now wondering if there are any good packages that
have some good pre-designed functions for multi-variable binning using
say 4 or 5 variables, sometimes binning on 3 or more levels of each
variable, and then supporting some sort of reporting mechanism to tell
me how many data points fell into each bin?

   I'm getting sort of tired of writing and debugging long logic equations!


R-help at r-project.org mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list