Description Usage Arguments See Also Examples
View source: R/theme_horizontal.R
A [ggplot2] theme with opinionated aesthetics for <https://jota.info>
1 2 3 4 5 6 | theme_horizontal(
base_size = 10,
base_family = "sans",
horizontal = TRUE,
dark_panel = FALSE
)
|
base_family, base_size |
base font family and size |
horizontal |
|
dark_panel |
|
Other themes:
theme_jota()
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
library(ggplot2)
library(dplyr)
data(Governismo)
ggplot(Governismo, aes(x=D1, y=D2)) +
geom_point() +
labs(x="IDEOLOGIA (D1)", y="POSICIONAMENTO ECONÔMICO (D2)",
title="Um exemplo de scatterplot",
subtitle="Apoio ao texto da Reforma: Threshold 80% a 20%",
caption="Fonte: https://jota.info") +
theme_horizontal()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.