When working with data frames, you often need to modify the columns for your analysis at hand. With the help of the dplyr package, data frame modifications are easily performed.
In this lesson, you’ll learn how to modify an existing data frame using dplyr. Some of the skills you’ll learn include:
notebook.Rmd data from the American Kennel Club (AKC) is loaded into a data frame. The data covers two categories of dog data:
Review the code and take a look at the rendered notebook. What do you think the fourth and fifth code blocks accomplish?
Proceed to the next exercise when you’re ready to start working with this data and modifying data frames!