Get startedGet started for free

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?

This exercise is part of the course

Data Science Visualization - Module 2

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise