render_gpar | R Documentation |
Helps add the ggplot2-theme's look-and-feel to grid
's grob objects.
render_gpar
returns a gpar
-object,
element_render
returns a grid.grob
-object.
render_gpar(theme, element, ...)
theme |
A ggplot2 theme |
element |
The name of an element in the theme, e.g. "axis.text". |
... |
Additional arguments sent to grobs (e.g. |
A grid.grob
or gpar
object.
theme
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.