Can one use polygon() or equivalent in lattice and ggplot2 plots?
Posted
by
Alex Reynolds
on Stack Overflow
See other posts from Stack Overflow
or by Alex Reynolds
Published on 2011-11-29T01:03:35Z
Indexed on
2011/11/29
1:50 UTC
Read the original article
Hit count: 373
Is it possible to annotate lattice
(or ggplot2
) figures with elements created with polygon()
(or elements created with a similar function) from the graphics
library?
I'm not too familiar with either library beyond examples of simple graphs posted on the web and printed in Deepayan Sarkar's book. Therefore, while I have code for what I've been doing in R with the graphics
library, pointing me to relevant, equivalent functions and usage examples for lattice
or ggplot2
specifically would be appreciated. Thanks.
© Stack Overflow or respective owner