Hi everyone - I have a rough working version of geom_violin. Comments and suggestions are appreciated.
Some examples -- hopefully these inline images will show up properly...
set.seed(110)
dat <- data.frame(x=LETTERS[1:3], y=round(rnorm(90),2))
# With points overlaid
ggplot(dat, aes(x=x, y=y)) + geom_violin() + geom_point(shape=21)
# Narrower, no points
ggplot(dat, aes(x=x, y=y)) + geom_violin(width=.5)
# Narrower, with tails
ggplot(dat, aes(x=x, y=y)) + geom_violin(width=.5, trim=FALSE) + geom_point(shape=21)
# With box plot
ggplot(dat, aes(x=x, y=y)) + geom_violin(width=.5) + geom_boxplot(width=.1, outlier.size=0)
# Dodging works
ggplot(dat, aes(x="foo", y=y, fill=x)) + geom_violin()