xp_geoms | R Documentation |
Generic wrapper around ggplot2 layer functions.
xp_geoms(mapping = NULL, xp_theme, name, ggfun, ...)
mapping |
ggplot2 aesthetics for the target layer. |
xp_theme |
An 'xpose_theme' object. |
name |
Name of the destination layer for the argument parsing (e.g. point). |
ggfun |
Name of the ggplot2 layer function to be called. |
... |
Additional arguments to be parsed and passed to the destination layer. |
Output of the 'ggfun' call.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.