Skip to content

Evaluating Phylogeny as a Proxy for Ecological Similarity

0packages depend
2.1Kdownloads / year
–test coverage
13/13flavors OK

Overview

About
Maintained by Yan HeCRAN page ↗

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.

Changes in 0.2.0
  • Redesigned pnc() and compnc() for a simpler and more consistent analysis workflow.
  • Standardized outputs and updated n_sp to reflect the actual number of species used in each analysis.
  • Improved pnc_robustness() and compnc_robustness() using paired simulations to evaluate sensitivity to observed missing-data patterns.
  • Added consistency, signal_bias, signal_sd, and n_successful to robustness outputs.
  • Revised function documentation and examples.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.4 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.2.0
READMEYes · 1,688 wordsVignettesNoNEWSYes · 100% structured · mentions 0.2.0Citation fileNoWebsitenot declared in DESCRIPTION
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

2.1K
CRAN downloads in the past year
Rank #19,386 · ~6/day · ~173/mo
Daily download trend is not available in this view yet.
25630 days
67690 days
2.1K1 year
Compare downloads with other packages →
Also on108 r2u2 autocran

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)

Installing PNC adds 36 packages (21 with compiled code, 32 MB of source tarballs). Heaviest: ncbit 9.4 MB, igraph 4.8 MB, maps 2.2 MB.

Depends (1)
R >= 3.5.0
Imports (5)
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (4)
Author, Maintainer since 0.1.0 (2025)
Author
Author
Releases (2)

Pick two releases to compare their code metrics.

  • 0.2.0Latest
    record
    2026-08-29 · current release · diff ↗ ·
    removed 2 exports
    simulate_K_trait, simulate_lambda_trait
  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.0
    record
    2025-11-07
  • R
    R 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")
He, Y., Mao, L., Xia, Y., & Yang, R. (2026). PNC: Evaluating Phylogeny as a Proxy for Ecological Similarity (Version 0.2.0) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for PNC version 0.2.0 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy