View source: R/geom-magic-text.R
geom_magic_text | R Documentation |
a wrapper function of ggtext::geom_richtext
, but can
formatted labels by LaTeX
style.
geom_magic_text(
mapping = NULL,
data = NULL,
stat = "identity",
position = "identity",
geom = "text",
parse = TRUE,
...
)
mapping |
set of aesthetic mappings created by |
data |
the data to be displayed in this layer. |
stat |
the statistical transformation to use on the data for this layer, as a string. |
position |
position adjustment, either as a string, or the result of a call to a position adjustment function. |
geom |
one of text, label or richtext. |
parse |
logical or a parse function. IF TRUE (default), the labels will be parsed into expression. |
... |
others passing to |
a gg layer object.
Hou Yun
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.