ggplot(dummy, aes(fac1, values)) +
geom_boxplot(aes(fill=factor(fac2))) +
geom_text(aes(fac1, upper + 0.05, label = lett), data = test, vjust = 0,
position = position_dodge(width = 0.8))
You'll need ggplot 0.8.8
Hadley
> --
> You received this message because you are subscribed to the ggplot2 mailing list.
> Please provide a reproducible example: http://gist.github.com/270442
>
> To post: email ggp...@googlegroups.com
> To unsubscribe: email ggplot2+u...@googlegroups.com
> More options: http://groups.google.com/group/ggplot2
>
--
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/