FES 720 Introduction to R

LAB: Testing Populations

This is the lab associated with the lecture and lesson on Testing Ratios in R.

Please upload your final completed lab on the Assignments page in Canvas, as per the instructions below.

You are welcome and expected to ask for help from the instructors if you get stuck: Please also come to the R Bootcamp on Friday—there is coffee and snacks!


Questions

Using the sparrow data set.

dat <- read.table(file = "http://www.simonqueenborough.info/R/data/sparrows.txt", header = TRUE)
  1. Compare the Tarsus size between males and females using a t-test.

  2. Compare the Head size of the two species using a t-test.

  3. Compare the Culmen size for each Observer using ANOVA.

  4. Compare the Culmen size for each Observer and Species using a two-way ANOVA.


How to write up your answers

Please check the help page for a reminder, if you need to.


Updated: 2017-11-08