Challenge problem 2: Comparing GLS with independent contrasts regression in R

Using contrasts regression and the method of phylogenetic GLS fit a linear model for the variables wing and Lnalt (that is wing~Lnalt). Compare the two fitted models from these different methods. In what ways are they similar or different?

The files once again are:

  1. Barbetdata.csv
  2. BarbetTree.nex

Written by Liam J. Revell. Last updated 11 December 2017