Description Usage Arguments Value Examples
A theme that can be applied to a ggplot.
1 2 | theme_cuckoo(font_family = "Arial", base_size = 10,
legend_position = c(0.01, 0.99), ...)
|
font_family |
Informs the font family to be used as a base. Defaulted to Tahoma. |
base_size |
Informs the base font size. Defaulted to size 10. |
legend_position |
Informs the postion of the legend. Use "none" to hide the legend. |
Returns the theme
1 2 3 4 5 | census %>%
ggplot(aes(x = State, fill = State)) +
geom_bar(stat = "count") +
coord_flip() +
theme_cuckoo(font_family = "Tahoma",legend_position = "none")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.