[R-sig-phylo] PGLS multiple regression with dummy variables and interaction terms

2015-08-08 Thread Patrick Gemmell
Dear R-sig-phylo list, I have a non-phylogenetic multiple regression y ~ x1 + ... + xn + d1 + d2 + d3, where x1 ... xn are continuous variables and d1, d2 and d3 are dummy variables (i.e. for each species in the tree I may have up to 4 data points). In fact, sometimes my dummy variables

Re: [R-sig-phylo] PGLS multiple regression with dummy variables and interaction terms

2015-08-08 Thread Chris Organ
Dear Patrick, Sure - see the following as an example (using BayesTraits, but easily done in R too): Organ, C. L., A. Canoville, R. R. Reisz, and M. Laurin. (2011). Paleogenomic data suggest mammal-like genome size in the ancestral amniote and derived large genome size in amphibians. Journal of

Re: [R-sig-phylo] PGLS multiple regression with dummy variables and interaction terms

2015-08-08 Thread Theodore Garland Jr
] PGLS multiple regression with dummy variables and interaction terms Dear Patrick, Sure - see the following as an example (using BayesTraits, but easily done in R too): Organ, C. L., A. Canoville, R. R. Reisz, and M. Laurin. (2011). Paleogenomic data suggest mammal-like genome size