knitr::opts_chunk$set(echo = TRUE, fig.align = "center", fig.width = 4, fig.height = 4, warning = FALSE, error = FALSE, message = FALSE) devtools::load_all("..")
Last updated: r Sys.Date()
# Load ggplot2 library(ggplot2) # Load ggmitji library(ggmitji) # Load patchwork (to put plots together) library(patchwork)
p1 <- ggplot(mpg, aes(class, hwy)) + geom_boxplot() + labs(title = "Made with geom_boxplot") p2 <- ggplot(mpg, aes(class, hwy)) + stat_boxplot() + labs(title = "Made with stat_boxplot") p3 <- ggplot(mpg, aes(class, hwy)) + stat_summary_boxplot() + labs(title = "Made with stat_summry_boxplot") (p1 + p2) / p3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.