theme_aba | R Documentation |
Custom aba ggplot2 theme
theme_aba(
base_size = 16,
legend.position = "top",
coord_flip = FALSE,
legend_title = FALSE,
facet_labels = TRUE,
axis_title = FALSE,
family = c("Helvetica", "Tahoma", "Verdana")
)
base_size |
integer. base font size |
legend.position |
string. where to place legend ('none' = no legend) |
coord_flip |
logical. whether to flip x and y axes |
legend_title |
logical. whether to include legend title. |
facet_labels |
logical. Whether to include labels of facets. |
axis_title |
logical. Whether to include axis title for non-primary axis |
family |
string. which font family to use. Should be one of Verdana, Tahoma, Helvetica |
ggplot2 theme which can be added to a ggplot object
library(ggplot2)
data <- data.frame(x=1:10, y=1:10)
fig <- ggplot(data, aes(x=x,y=y)) + geom_point() + theme_aba()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.