Exercise

Exercise 2. Variable type

We saw that sex is the first variable. We know what values are represented by this variable and can confirm this by looking at the first few entires:

library(dslabs)
data(heights)
head(heights)

What data type is the sex variable?

Instructions

50 XP

Possible answers