Re: [R-sig-phylo] brunch

2012-05-31 Thread Orme, David
Hi Yanthe, Just to second what Graham says - it sounds like a crunch problem. The crunch() and brunch() functions in caper do both take the raw data and then calculate contrasts in all the variables in the model simultaneously. The pic() function in the ape package does the same for one

[R-sig-phylo] brunch

2012-05-30 Thread Yanthe Pearson
Hello, I have been trying to figure out a few details in the caper functions brunch and crunch. Say I want to run PIC for Y as a function of X (as seen in Garland and Ives 2000), my understanding is I would have to find the IC's for Y and X independently and apply the regression formulas.

Re: [R-sig-phylo] brunch

2012-05-30 Thread Graham Slater
Hi Yanthe, It's been a while since I've used these functions, but if I remember correctly, you can do what you ask with crunch but not brunch. What kinds of models can I use in crunch? Can I do Y as a function of X1 and X2, all of the variables being continuous? Are the contrasts for