Description Usage Arguments Details Note Examples
set petgg theme
1 | petgg::theme_petgg()
|
base_size |
is a numeric, font size in pts. Default is |
base_family |
is a character, font family. Default is |
base_line_size |
is a numeric, base size for line elements. Default is |
base_rect_size |
is a numeric, base size for rect elements. Default is |
axis_title |
is a logical, |
legend_title |
is a logical, |
legend_position |
is a character, control legend position. Default is |
Always load the package after ggplot2
or tidyverse
More info https://ggplot2.tidyverse.org/reference/theme.html
1 2 3 4 | petgg::theme_petgg() # Default options
petgg::theme_petgg(base_size = 14, base_family = "Times New Roman")
petgg::theme_petgg(base_size = 13, axis_title = T)
petgg::theme_petgg(legend_title = T, legend_position = "top")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.