Skip to content
Prev 307105 / 398506 Next

Multiple graphs > boxplot

On Oct 5, 2012, at 9:01 AM, David Gramaje wrote:

            
Two options:
A)
Melt the dataframe with reshape2::melt
then use boxplot( value ~ interaction(variable,treatment) )

B) 
Melt the dataframe
Use bwplot in lattice with a slightly more full featured formula interface

bwplot(value~cat|variable, data=amelt)

Option B is more beautiful in my opinion.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Rplot.pdf
Type: application/pdf
Size: 84789 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20121005/85a6f90d/attachment.pdf>
-------------- next part --------------