ggtext_size | R Documentation |
Convert ggplot theme font size to geom_text size
ggtext_size(base_size, ratio = 0.8)
base_size |
theme font size |
ratio |
ratio of text size to theme font size. Defaults to .8 so that geom text will be the same size as default sized axis labels. |
numeric vector
ggtext_size(16)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.