Posts tagged with violin plot

Comparing two populations using different graph types

October 5th, 2007

I think the title says it all. If you have two populations such as “Treatment” and “Control”, what type of graphs can you use to compare the two? Have a look at the examples, then pick the corresponding R code.

All of the charts come from either excellent the lattice package, or the superb ggplot2 package. The code should also work for multiple populations as well.

Read more »