Pattern Causality Algorithm
Overview
A comprehensive package for detecting and analyzing causal relationships in complex systems using pattern-based approaches. Key features include state space reconstruction, pattern identification, and causality strength evaluation.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 45
- Examples that run
- 63%15 run in a plain check · 7 only when donttest examples are enabled (R CMD check --as-cran) · 2 never run
- Exported functions with examples
- 63%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 4%
Downloads
Repository
Stars over time
Forks over time
Releases over time
Issues over time
Commits over time
7 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/pattern-causality/pattern_causality on 2026-10-25.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-10-08 · The repository has a site deploy workflow
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2026-03-18Seen in the repository: CLAUDE.mdCommits: at least 3 crediting it in the message
- Claude Opus 4.63 commits · Mar 2026
Dependencies
Code & Tests
Datasets
People & History
Previously maintained by Hui Wang (0.1.0 to 0.2.1).
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.2.4Latest
- 0.2.3
- 0.2.22025-09-04 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 0.2.12025-02-15 · diff ↗
- 0.2.02025-01-10 · diff ↗ ·
removed 22 exports
convertSignatureToValue, convertSignatureToValueOutOfSample, dataBank, distanceMatrix, distanceVector, fillPCMatrix, firstCausalityPoint, firstCausalityPointCHECK, metricDistance, natureOfCausality, pastNNsInfo, pastNNsInfo_Lite, patternHashing, patternSpace, plotCV, plotEffect, plotMatrix, plotState, predictionY, projectedNNsInfo, projectedNNsInfo_Lite, signatureSpaceadded 11 exports
distanceMetric, pcCrossMatrix, pc_cv, pc_effect, pc_matrix, pc_params, plot_causality, plot_components, plot_total, stateSpaceMethod, validate_custom_fn_output - 0.1.32024-09-25 · diff ↗ ·
added 7 exports
pcCrossValidation, pcEffect, pcMatrix, plotCV, plotEffect, plotMatrix, plotState - 0.1.22024-08-22 · diff ↗ ·
removed 2 exports
pc_fulldetails, pc_lightweightadded 2 exports
pcFullDetails, pcLightweight - 0.1.12024-08-18 · diff ↗ ·
removed 2 exports
PC.Mk.II.Full.Details, PC.Mk.II.Lightweightadded 2 exports
pc_fulldetails, pc_lightweight - 0.1.02024-07-31
- RR 4.4.0 released · 2024-04-24
Package metadata
- First published
- 2024-07-31
- Total releases
- 9 / 2 yrs
- License
- GPL-3 | file LICENSE OSI · relicensed from MIT + file LICENSE in 0.2.0
- Minimum R
- ≥ 4.1.0
- Bundled data
- 266 KB / 3 files
- Download size
- 2.6 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("patterncausality")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.2139/ssrn.4966221.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.