Evaluating Phylogeny as a Proxy for Ecological Similarity
Overview
Provides a trait-based workflow for evaluating whether phylogenetic relatedness is informative about similarity in measured quantitative traits within focal species pools and across multiple communities. Functions support trait data integration, taxon-specific trait extraction, coverage assessment, optional principal component analysis, and estimation of phylogenetic signal using Pagel's lambda or Blomberg's K. Curated quantitative trait datasets are included for plants, birds, mammals, reptiles, amphibians, and fishes. Paired simulations assess how observed patterns of missing trait data affect Pagel's lambda estimates and significance classifications for individual traits. Methods for quantifying phylogenetic signal are based on Pagel (1999) doi:10.1038/44766, Blomberg et al. (2003) doi:10.1111/j.0014-3820.2003.tb00285.x, and Münkemüller et al. (2012) doi:10.1111/j.2041-210X.2012.00196.x.
- Redesigned
pnc()andcompnc()for a simpler and more consistent analysis workflow. - Standardized outputs and updated
n_spto reflect the actual number of species used in each analysis. - Improved
pnc_robustness()andcompnc_robustness()using paired simulations to evaluate sensitivity to observed missing-data patterns. - Added
consistency,signal_bias,signal_sd, andn_successfulto robustness outputs. - Revised function documentation and examples.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 15
- Examples that run
- 73%11 run in a plain check · 4 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 80%
Downloads
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 0.2.0Latest
- RR 4.6.0 released · 2026-04-24
- 0.1.02025-11-07
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2025-11-07
- Total releases
- 2 / 1 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 2.8 MB / 8 files
- Download size
- 3.7 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("PNC")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.