# >Validating data
For these exercises, we’ll use the mtcars data set build into base R.
- What are the dimensions of
mtcars?
- In one line of code, view the data types for all of the columns in
mtcars.
# >- What is the range of values for the
mpgcolumn?
# >- What are all of the possible values used in
gear?
# >- Check whether the value 5 is found in the
carbcolumn.
# >- Do any columns have missing values?
# >- What is the 3rd quartile for
mpg?
# >- Check whether all horsepower (
hp) values fall between 50 and 300. Which row numbers fall out of this range?
# >- Make a codebook for
mtcars.
# >