Combining Basics

Shrub Volume Carbon


This is a follow-up to Shrub Volume Data Basics.

Now that you’re familiar with the data, Dr. Granger wants you to conduct a preliminary analysis of these data to include in a grant proposal (she might be a world renowned expert in carbon storage in plants, but she sure doesn’t know much about computers). If you missed it, the data file is still on the web.

You might be able to do this analysis by hand in Excel, but Dr. Granger seems to always get funded meaning that you’ll be doing this again soon with a much larger dataset. So, you decide to write a script so that it will be easy to do the analysis again.

Write an R script that:

Optional: If you’d like to test your skills a little more, try determining the average carbon in a shrub for each of the different experiments and printing those values to the screen.

[click here for output]