The following commands
library(ggplot2)
ggplot(PlantGrowth, aes(x=group, y=weight)) + geom_boxplot()
produce this graph.
. I wonder how to get xlabels as ctrl, trt_1 and trt_2, here 1 and 2 are in subscripts. As I need to have the graphs in png format so I’m avoiding tikzDevice and pgfSweave. Thanks in advance for your help.
here is an example: