# >
Numbers
For these exercises, we’ll use the dog breed traits and dog breed popularity rankings data sets.
- Load tidyverse and import
dog_breed_traits_clean.csv
totraits
.
- Create a column of per-row means over all rating columns called mean_ratings and assign to
traits2
.
# >
- Convert mean_ratings to a proportion in a column called pmean_ratings and add to
traits2
.
# >
- Apply a natural log transformation to the pmeans_ratings vector.
# >
- Round pmean_ratings to two decimal places.
# >
- Convert pmean_ratings to scientific notation.
# >
- Sum up the total grooming ratings for each coat type.
# >
- Add inline R code to the following sentence in R Markdown to say how many rows have
NA
for grooming:
We are missing grooming data for [insert inline R code] breeds.