Skip to content

pc

0.2

Pattern Causality Analysis

1packages depend
1.8Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Wenbo LyuFirst published 2026-03-302 releasesCRAN page ↗GitHub ↗

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.

Install

Health

CRAN checks
13OK
Slowest check: 6.7 min · r-devel-linux-x86_64-fedora-clang
Code health
None
Tests · ratio 0.00
not tracked
Coverage
6
Dependencies · direct
Check history
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-04-22
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    11 OK · 1 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-31
    6 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 256 wordsVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
not tracked
Return-value docs
not tracked
References docs
67%

Downloads

1.8K
CRAN downloads in the past year
Rank #8,597 · ~5/day · ~150/mo
Daily download trend is not available in this view yet.
27330 days
1.2K90 days
1.8K1 year
Compare downloads with other packages →
Also on133 r2u

Repository

Repository
18Stars
2Forks
0Open issues
0Open PRs
2Releases
723Commits
1Contributors
causal-discoverycausalitycausality-algorithmscausality-analysiscppgeoinformaticspattern-causalityr
723 commits · Last activity 2026-07-24 · +5.9% stars, 30d

Stars over time

2026-03-25 · 22026-07-30 · 18

Repository practices

Upstream repositoryBeta

3 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/stscl/pc on 2026-07-30.

Continuous integration (1)
GitHub Actions
CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
12 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1.0
Imports (6)
LinkingTo (2)
Enhances (0)
none
Reverse dependencies
1direct
0indirect

Code & Tests

People & History

People (1)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (1)
Author, Maintainer, Copyright holder
Copyright holders (1)
Author, Maintainer, Copyright holder
Package Timeline

2 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.2Latest
    2026-04-10 · current release · diff ↗
  • 0.1
    2026-03-30
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2026-03-30
Total releases
2 / 1 yrs
License
GPL-3 OSI
Minimum R
≥ 4.1.0
Download size
not tracked yet
Installed size
not tracked yet
With dependencies
not tracked yet
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