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)

First chapter

library(ggplot2)

ggplot(mpg) +
  geom_point(aes(cty, hwy), alpha = .2) +
  labs(title = "Lots of cars", subtitle = "Point by point")

\newpage



scholaempirica/reschola documentation built on Feb. 1, 2024, 12:26 a.m.