theme_djpr | R Documentation |
Style your ggplot2 plots in the DJPR style.
theme_djpr(
base_size = 14,
base_family = getOption("djprtheme.base_font_family", "sans"),
chart_type = "normal",
flipped = FALSE,
background = "white",
legend = "none",
panel_borders = FALSE
)
base_size |
Size for text elements. Default is 14. |
base_family |
Font family for text elements. Default is "sans". |
chart_type |
"normal" by default. Set to "scatter" for scatter plots. |
flipped |
FALSE by default. Set to TRUE if using coord_flip(). If set to TRUE, the theme will show a vertical axis line, ticks & panel grid, while hiding the horizontals. Ignored for type = "scatter". |
background |
"white" by default. |
legend |
"none" by default. Set to "right", "left", "top", "bottom", or "none" as desired, or a two element numeric vector such as c(0.9, 0.1). |
panel_borders |
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.