Summarizing and Visualizing Data in R: difficulty 3

Mark Yourself Question

  1. Grab a piece of paper and try this problem yourself.
  2. When you're done, check the "I have answered this question" box below.
  3. View the solution and report whether you got it right or wrong.

A table has columns site and mass_g, with some missing masses. Write a dplyr pipeline that produces, for each site, the number of observed masses and their mean. Explain why reporting both values is more informative than reporting the mean alone.

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Summarizing and Visualizing Data in R Questions: