View source: R/ggtheme_threadr.R
ggtheme_threadr | R Documentation |
Function for "tufte-like" ggplot2 appearance.
ggtheme_threadr(grid_lines = FALSE)
theme_super_minimal(grid_lines = FALSE)
colour_byzantine_blue()
colour_crimson()
colour_inferno_purple()
colour_inferno_orange()
colour_inferno_peach()
colours_ggpubr()
colours_plotly()
grid_lines |
Should the plot have grid lines? |
Invisible, modification to a ggplot2 plot.
Stuart K. Grange
## Not run:
# Load package
library(ggplot2)
# Create data
data_example <- tibble(
x = seq(1:3),
y = sample(1:10, 3)
)
# Plot with a tufte theme
ggplot(data_example, aes(x, y)) +
geom_point() +
ggtheme_threadr()
# Plot with a super minimal
ggplot(data_example, aes(x, y)) +
geom_point() +
theme_super_minimal()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.