| position_stack {ggplot2} | R Documentation |
Stack overlapping objects on top of one another
position_stack(...)
... |
ignored |
This page describes position_stack, see layer and qplot for how to create a complete plot from individual components.
A layer
Hadley Wickham, http://had.co.nz/
## Not run:
# See ?geom_bar and ?geom_area for more examples
ggplot(mtcars, aes(x=factor(cyl), fill=factor(vs))) + geom_bar()
ggplot(diamonds, aes(x=price)) + geom_bar()
ggplot(diamonds, aes(x=price, fill=cut)) + geom_bar()
## End(Not run)