Question: Using the str ( ) function we can look at the structure of a dataset. str ( ) takes the name of the data set
Using the str function we can look at the structure of a dataset. str takes the name of the data set as its first argument. The output shows the variable names, their type, and the values of the first observations.
The am variable indicates whether a car has an automatic or manual transmission. Perform the str function on mtcars in your console and look at your output. According to R what type of variable is am
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
