## Simple example
data(BeckLee_mat50)
data(BeckLee_tree)
disparity <- dispRity(BeckLee_mat50, metric = centroids, tree = BeckLee_tree)
## Running a simple PGLS
model <- pgls.dispRity(disparity)
summary(model)
## More complex example running a PGLS
## on multiple trees and using groups as a predictor
Run the code above in your browser using DataLab