qplot(score, ..count.., data=df, geom='density', position='stack') +
facet_grid(method~., scales='free', space='free')
but I get:
Error in if (length(range) == 1 || diff(range) == 0) { :
missing value where TRUE/FALSE needed
I'm also not sure whether this is what I want - it seems from the
examples in http://had.co.nz/ggplot2/facet_grid.html that
scales='free' allows the scales to vary among the facets, whereas I'd
like them to be fixed. But simply specifying space='free' seems to
have no effect.
Thanks in advance.
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/
qplot(score, ..count.., data=df, geom='density', fill=I('black')) +
opts(strip.text.y = theme_text()) +
scale_y_continuous(breaks=seq(0,999,by=50)) +
facet_grid(method~., scale='free', space='free'))