Skip to content
Prev 177797 / 398503 Next

ggplot2 - boxplot of variables / columns

On Apr 21, 2009, at 10:42 AM, Andreas Christoffersen wrote:

            
qplot(ind, values, data=stack(data.frame(a,b,c)), geom="boxplot")

I first tried stack(list(a,b,c)) but did not get the expected results.  
If anyone wants to enlighten me on why, I would be happy to offer a  
rewrite of the stack help page that clarifies my inability to parse it  
correctly in its current incarnation.
David Winsemius, MD
Heritage Laboratories
West Hartford, CT