Assignment: Your task is to use Rmarkdown to write a short report, analyzing an observational dataset and designing an experiment to answer the question. Your report may include visible R code, but should still be readable, as a narrative, with paragraphs describing methods, interpreting plots, and communicating results.
Due: Submit your work via Canvas by the end of the day (midnight) on Thursday, October 17th. Please submit both the Rmd file and the resulting html or pdf file. You can work with other members of class, but I expect you to construct and run all of the scripts yourself.
You’ll be looking at the PanTHERIA dataset, which is
… a global species-level data set of key life-history, ecological and geographical traits of all known extant and recently extinct mammals (PanTHERIA) developed for a number of macroecological and macroevolutionary research projects.
Metadata is available at the Ecological Archives, and (along with some hints about how to load it appropriately) is included in this repository, here.
AdultBodyMass_g
variable, and “trophic level” of a species, TrophicLevel
, is either herbivore, carnivore, or omnivore. In your report, you shouldIn your conclusion, consider that this is observational data, and furthermore, species share differing amounts of evolutionary history, making them highly nonindependent: bats (Order Chiroptera) are smaller than whales (Order Cetacea).
Repeat the same analysis (you can be briefer), but using only species in the Order Rodentia.
A colleague hypothesizes that the differences in mean size seen in part (2) are due at least in part because of physiological differences caused by the amount of dietary protein, and that in particular, mice given access to animal protein will grow larger. Leaving aside any doubts you may have about whether this hypothesis is correct, design an experiment that could test this idea. Also, given that adult mice vary in size by around 20%, estimate the sample size that would be necessary to detect an effect of a size comparable to the mean difference between trophic levels found in (2).