[R-sig-phylo] PGLS with class multiphylo

2013-04-30 Thread Samantha DelSerra
Hello, I am trying to analyse 100 trees against morphological continuous data using a phylogenetic GLS. I'm using the comparative.data function in order to do this, but I keep getting an error saying that the class must be phylo. I understand that my data is multiphylo, but is there a way to

Re: [R-sig-phylo] PGLS with class multiphylo

2013-04-30 Thread Nicholas Crouch
Sam, In order to run on one tree try phy=trees[[1]], otherwise you will need to run a loop of the function over all the trees. e.g. for(i in 1:length(trees)){ phy - trees[[i]] then code as normal Nick On Tue, Apr 30, 2013 at 7:33 AM, Samantha DelSerra s.delse...@gmail.comwrote: Hello,