Skip to content
Prev 278591 / 398502 Next

Boxplot

On Nov 27, 2011, at 12:15 AM, Jeffrey Joh wrote:

            
Combining `cut` (to define the intervals) and `boxplot` should be  
fairly straight-forward.
We have a tool for that, too. Study `quantile` a bit, to automatically  
pick cutpoints that will divide into approximately equal groups.

(I use the `cut2` function in the Hmisc package,  because it is  
integrated with `rms` that I use all the time, and because its  
defaults for cut()-ting are more to my liking. It also has a "g="  
parameter that automates the cut( ..., quantile(...)) processing.
David Winsemius, MD
West Hartford, CT