This class covers an introduction to wrangling and summarizing data using the functions from tidyr
and dplyr
. This is only meant to serve as a brief introduction, as we will keep developing these skills throughout the semester. I have a similar lesson on data wrangling from a previous semester 2016-09-23-Wrangling and information on joins 2016-09-29-Joining_Data_Sets.
Answers to last week challenges
Weekly challenge
The data
Work with the ecology data set from datacarpentry. An explanation of the data set can be found here
In-class challenges
1. create a new column for Species (Genus + specific epithet)
2. Average weight of Male Rodents
3.put data into long form
Take home challenges
1. How many animals caught in each plot type?
2. How many species are in each taxa?
3. Average weight of each species?
4. Average weight of each Sex of each species?