Example presentation
August 29, 2022
Unordered
Ordered
Write mathematical symbols and equations using Latex.
Use the formulas below to calculate \(\hat{\beta}_1\), the estimated slope, and \(\hat{\beta}_0\), the estimated intercept.
\[ \begin{aligned} &\hat{\beta}_1 = r \frac{s_y}{s_x} \\ &\hat{\beta}_0 = \bar{y} - \hat{\beta}_1 \bar{x} \end{aligned} \]
# Use code chunk option fig-align: center to center the plot.
ggplot(data = penguins, aes(x = flipper_length_mm, y = body_mass_g,
color = species)) +
geom_point() +
labs(x = "Flipper Length (in mm)",y = "Body Mass (in g)",
title = "Flipper length vs. body mass",
subtitle = "Penguins at Palmer Station, Antartica") +
scale_color_viridis_d()
penguins |>
filter(species == "Adelie", !is.na(sex)) |>
ggplot(aes(x = flipper_length_mm, y = body_mass_g, color = sex)) +
geom_point() +
labs(x = "Flipper Length (in mm)",y = "Body Mass (in g)",
title = "Flipper length vs. body mass",
subtitle = "Adelie Penguins at Palmer Station, Antartica") +
scale_color_viridis_d() +
facet_wrap(~island)
penguins |>
filter(species == "Adelie", !is.na(sex)) |>
ggplot(aes(x = flipper_length_mm, y = body_mass_g, color = sex)) +
geom_point() +
labs(x = "Flipper Length (in mm)",y = "Body Mass (in g)",
title = "Flipper length vs. body mass",
subtitle = "Adelie Penguins at Palmer Station, Antartica") +
scale_color_viridis_d() +
facet_wrap(~island)
Customize the appearance of the slides using
Built-in Reveal theme
Modify built-in theme using Sass
Create custom thing using Sass
Specify the theme and/or Sass file (.scss) in the YAML