theme_ifr | R Documentation |
This function is added to a ggplot object to apply a custom IFR style.
theme_ifr(base_size = 16)
base_size |
Adjust the base size of plot text. |
This custom theme adjusts the standard ggplot theme to create report-ready plots. Font sizing is appropriate for a plot approximately 6" square, or similar. For larger or smaller plots, use base_size to adjust the text size as necessary to create aesthetic plots with readable text. All theme adjustments can be over-ridden with a subsequent theme() call.
ggplot(mtcars, aes(mpg, disp)) +
geom_point() +
theme_ifr()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.