library(reschola) library(tidyverse) library(here) # helper functions and shared code source("shared.R", local = TRUE, encoding = "UTF-8") # make ggplot2 use ubuntu fonts without you having to set it use_reschola_fonts() # default ggplot theme theme_set(theme_schola()) # force R to show full numbers, not scientific notation options(scipen = 10)
library(ggplot2) ggplot(mpg) + geom_point(aes(cty, hwy), alpha = .2) + labs(title = "Lots of cars", subtitle = "Point by point")
\newpage
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.