Package: phylopairs
Title: Comparative Analyses of Lineage-Pair Traits
Version: 0.1.1
Authors@R: 
    person("Sean A. S.", "Anderson", , "sean.as.anderson@gmail.com", role = c("aut", "cre"))
Description: 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) <doi:10.1111/j.1558-5646.1989.tb04233.x>, Fitzpatrick (2002) <doi:10.1111/j.0014-3820.2002.tb00860.x>, and Castillo (2007) <doi:10.1002/ece3.3093>.
License: GPL (>= 3)
Encoding: UTF-8
RoxygenNote: 7.3.2
Biarch: true
Depends: R (>= 3.5.0)
Imports: ape, loo, methods, phytools, Rcpp (>= 0.12.0), RcppParallel
        (>= 5.0.1), rstan (>= 2.18.1), rstantools (>= 2.4.0)
LinkingTo: BH (>= 1.66.0), Rcpp (>= 0.12.0), RcppEigen (>= 0.3.3.3.0),
        RcppParallel (>= 5.0.1), rstan (>= 2.18.1), StanHeaders (>=
        2.18.0)
SystemRequirements: GNU make
NeedsCompilation: yes
Packaged: 2025-04-23 19:47:47 UTC; sanderson353
Author: Sean A. S. Anderson [aut, cre]
Maintainer: Sean A. S. Anderson <sean.as.anderson@gmail.com>
Repository: CRAN
Date/Publication: 2025-04-23 20:30:01 UTC
Built: R 4.5.2; x86_64-w64-mingw32; 2026-01-21 05:03:16 UTC; windows
Archs: x64
