Portal Data Aggregation (dplyr)
Download a copy of the
Portal Teaching Database surveys table
and load it into R using read.csv().
- Use the
group_by()andsummarize()functions to get a count of the number of individuals in each species ID. - Use the
group_by()andsummarize()functions to get a count of the number of individuals in each species ID in each year. - Use the
filter(),group_by(), andsummarize()functions to get the mean mass of speciesDOin each year.