Description Usage Arguments Details Value
View source: R/theme_graphclass.R
Applies ggplot2::theme_minimal()
with some edits such that all line
weights and colors and all text associated with the panels and axes
are identical.
1 2 | theme_graphclass(font_size = NULL, font_color = NULL,
line_size = NULL, line_color = NULL)
|
font_size |
The size assigned to all text in the figure. The default is 10 pt. |
font_color |
The color assigned to all text in the figure. The default is black. |
line_size |
The size assigned to all lines in the figure. The default is 0.3. |
line_color |
The color assigned to all lines in the figure. The default is a light gray (#BDBDBD). |
Optional arguments allow specifying a universal font size, line size, and line color, facilitating an easy transformation of a figure from a print document to a presentation slide.
The formatting choices are highly personal, but in my opinion, provide a good standard not met by themes available in other packages.
Modifies an existing graph.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.