[R] Grouped Boxplot

S Ellison S.Ellison at LGCGroup.com
Mon Jul 14 11:18:54 CEST 2014


> I want to plot "boxplots" in such a way that DISO is on y-axis and the
> NODE_CAT is grouped according to POS. If I were to plot the above
> mentioned case I should get three groups of boxplots A, B, and C. Also each
> of the POS A, B and C should have two boxplots (one for Hubs and one for
> Nonhubs).

You could try
library(lattice)
bwplot(DISO~NODE_CAT|POS, data=your_data_frame)

S


*******************************************************************
This email and any attachments are confidential. Any use...{{dropped:8}}



More information about the R-help mailing list