library(tidyverse)
library(palmerpenguins)
Meet the Penguins
For this application exercise, we’ll use the tidyverse and palmerpenguins packages.
The dataset we will visualize is called penguins
. Let’s glimpse()
at it.
- Your turn: Replace
#add code here
with the code for “glimpse”ing at thepenguins
data frame –glimpse(penguins)
. Render the document and view the output.
# add code here
- Demo: Replace the blank below with the number of rows in the
penguins
data frame based on the output of the chunk below.
nrow(penguins)
[1] 344
There are ___ penguins in the penguins
data frame.