thlTheme | R Documentation |
THL visual theme using ggplot2
thlTheme( show.grid.y = TRUE, show.grid.x = FALSE, base.size = 16, basic.lwd = 3, legend.position = "none", horizontal = FALSE, x.axis.title = FALSE )
show.grid.y |
Show background horizontal grid TRUE/FALSE? |
show.grid.x |
Show background vertical grid TRUE/FALSE? |
base.size |
Base size for elements in PostScript points |
basic.lwd |
Basic linewidth in PostScript points |
legend.position |
Position of the legend text |
horizontal |
Set as TRUE if plotting horizontal bars |
x.axis.title |
Set as TRUE if x-axis label is desired |
theme() object, to be combined with ggplot object with "+"
Tarja Palosaari, Salla Toikkanen, Petteri Mäntymaa
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.