Package: pc 0.3
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 Lyu et al. (2026) <doi:10.1016/j.compenvurbsys.2026.102435>.
Authors:
pc_0.3.tar.gz
pc_0.3.zip(r-4.7)pc_0.3.zip(r-4.6)pc_0.3.zip(r-4.5)
pc_0.3.tgz(r-4.6-x86_64)pc_0.3.tgz(r-4.6-arm64)pc_0.3.tgz(r-4.5-x86_64)pc_0.3.tgz(r-4.5-arm64)
pc_0.3.tar.gz(r-4.7-arm64)pc_0.3.tar.gz(r-4.7-x86_64)pc_0.3.tar.gz(r-4.6-arm64)pc_0.3.tar.gz(r-4.6-x86_64)
pc_0.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
pc/json (API)
NEWS
| # Install 'pc' in R: |
| install.packages('pc', repos = c('https://stscl.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/stscl/pc/issues
Pkgdown/docs site:https://stscl.github.io
causal-discoverycausal-interactionscausalitycausality-algorithmscausality-analysiscppcross-mappingdynamical-systemsempirical-dynamic-modelinggeoinformaticspattern-causalityspatial-data-analysisspatial-statisticstime-seriestime-series-analysiscpp
Last updated from:0a1c5b46aa. Checks:13 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 163 | ||
| linux-devel-x86_64 | OK | 179 | ||
| source / vignettes | OK | 242 | ||
| linux-release-arm64 | OK | 186 | ||
| linux-release-x86_64 | OK | 157 | ||
| macos-release-arm64 | OK | 105 | ||
| macos-release-x86_64 | OK | 385 | ||
| macos-oldrel-arm64 | OK | 135 | ||
| macos-oldrel-x86_64 | OK | 252 | ||
| windows-devel | OK | 131 | ||
| windows-release | OK | 191 | ||
| windows-oldrel | OK | 148 | ||
| wasm-release | OK | 145 |
Dependencies:bootclassclassIntclicpp11DBIdeldirdigestdplyre1071farvergenericsgeosphereggplot2gluegtableisobandKernSmoothlabelinglatticelifecyclemagrittrMASSpanderpillarpkgconfigproxypurrrR6RColorBrewerRcppRcppArmadilloRcppThreadrlangs2S7scalessdsfunsfspspDataspdepterratibbletidyselectunitsutf8vctrsviridisLitewithrwk
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| False Nearest Neighbors | fnn fnn,data.frame-method fnn,sf-method fnn,SpatRaster-method |
| Optimal Parameter Search for Pattern Causality | ops ops,data.frame-method ops,sf-method ops,SpatRaster-method |
| Pattern Causality | pc pc,data.frame-method pc,sf-method pc,SpatRaster-method |
