pc: Pattern Causality Analysis

Infer causation from observational data through pattern causality analysis (PC), with original algorithm for time series data from Stavroglou et al. (2020) <doi:10.1073/pnas.1918269117>, as well as methodological extensions for spatial cross-sectional data introduced by Zhang & Wang (2025) <doi:10.1080/13658816.2025.2581207>, together with a systematic description proposed in Runge et al. (2023) <doi:10.1038/s43017-023-00431-y>.

Version: 0.1
Depends: R (≥ 4.1.0)
Imports: methods, sdsfun, sf, terra
LinkingTo: Rcpp, RcppThread
Suggests: Rcpp, RcppThread, readr, infoxtr, spEDM, tEDM
Published: 2026-03-30
DOI: 10.32614/CRAN.package.pc (may not be active yet)
Author: Wenbo Lyu ORCID iD [aut, cre, cph]
Maintainer: Wenbo Lyu <lyu.geosocial at gmail.com>
BugReports: https://github.com/stscl/pc/issues
License: GPL-3
URL: https://stscl.github.io/pc/, https://github.com/stscl/pc
NeedsCompilation: yes
Citation: pc citation info
Materials: README, NEWS
CRAN checks: pc results

Documentation:

Reference manual: pc.html , pc.pdf

Downloads:

Package source: pc_0.1.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): pc_0.1.tgz, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): pc_0.1.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=pc to link to this page.