theme_twin | R Documentation |
This is the custom ggplot theme that we use for all the figures produced in twinR.
The theme is built around theme_bw
and is inspired by
theme_few
.
theme_twin(
base_size = 11,
base_family = "",
base_line_size = base_size/22,
base_rect_size = base_size/22,
larger = 0
)
base_size |
base font size |
base_family |
base font family |
base_line_size |
base size for line elements |
base_rect_size |
base size for rect elements |
larger |
a scalar indicating by how much to increase text size compared to default (for SI figs) |
the theme
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.