HDS 1.4-1.5

Author

Sabirin Muuse

library(palmerpenguins)
library(tidyverse)

Meet the penguins

The penguins data contains size measurements for penguins from three islands in the Palmer Archipelago, Antarctica.

The three species of penguins have quite distinct distributions of physical dimensions (Figure 1).

library(tidyverse, quietly = TRUE)
library(palmerpenguins)
penguins |>
  ggplot(aes(x = flipper_length_mm, y = bill_length_mm)) +
  geom_point(aes(color = species)) +
  scale_color_manual(
    values = c("darkorange", "purple", "cyan4")) +
  theme_minimal()
Figure 1: Dimensions of penguins across three species.

Quarto

Quarto enables you to weave together content and executable code into a finished document. To learn more about Quarto see https://quarto.org.

Running Code

When you click the Render button a document will be generated that includes both content and the output of embedded code. You can embed code like this:

1 + 1
[1] 2

You can add options to executable code like this

[1] 4

The echo: false option disables the printing of code (only output is displayed).