Exercise

str

We're going to be using the following dataset for this module. Run this code in the console.

library(dslabs)
data(murders)

Next, use the function str to examine the structure of the murders object. We can see that this object is a data frame with 51 rows and five columns.

Which of the following best describes the variables represented in this data frame:

Instructions

50 XP

Possible answers