These exercises cover the sections of Data wrangling with tidy.

All files can be found in the “dataset” directory.

 

Exercise 2

 

  1. Create a dataframe with a new variable that contains the rank of the length variable. Arrange this new data frame by IGF (lowest to highest).
  2. Create a dataframe with a new variable that is IGF/length. Arrange by this new variable (highest to lowest).