Comparative Analyses of Lineage-Pair Traits

Facilitates the testing of causal relationships among lineage-pair traits in a phylogenetically informed context. Lineage-pair traits are characters that are defined for pairs of lineages instead of individual taxa. Examples include the strength of reproductive isolation, range overlap, competition coefficient, diet niche similarity, and relative hybrid fitness. Users supply a lineage-pair dataset and a phylogeny. 'phylopairs' calculates a covariance matrix for the pairwise-defined data and provides built-in models to test for relationships among variables while taking this covariance into account. Bayesian sampling is run through built-in 'Stan' programs via the 'rstan' package. The various models and methods that this package makes available are described in Anderson et al. (In Review), Coyne and Orr (1989) , Fitzpatrick (2002) , and Castillo (2007) .


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("phylopairs")

0.1.1 by Sean A. S. Anderson, a year ago


Browse source code at https://github.com/cran/phylopairs


Authors: Sean A. S. Anderson [aut, cre]


Documentation:   PDF Manual  


GPL (>= 3) license


Imports ape, loo, methods, phytools, Rcpp, RcppParallel, rstan, rstantools

Linking to BH, Rcpp, RcppEigen, RcppParallel, rstan, StanHeaders

System requirements: GNU make


See at CRAN