Package: pc
Title: Pattern Causality Analysis
Version: 0.2
Authors@R: 
    person(given = "Wenbo", family = "Lyu",
           email = "lyu.geosocial@gmail.com", 
           role = c("aut", "cre", "cph"),
           comment = c(ORCID = "0009-0002-6003-3800"))
Description: 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>.
License: GPL-3
Encoding: UTF-8
RoxygenNote: 7.3.3
URL: https://stscl.github.io/pc/, https://github.com/stscl/pc
BugReports: https://github.com/stscl/pc/issues
Depends: R (>= 4.1.0)
LinkingTo: Rcpp, RcppThread
Imports: ggplot2, methods, sdsfun, sf, stats, terra
Suggests: Rcpp, RcppThread, readr, infoxtr, spEDM, tEDM
NeedsCompilation: yes
Packaged: 2026-04-10 09:56:50 UTC; dell
Author: Wenbo Lyu [aut, cre, cph] (ORCID:
    <https://orcid.org/0009-0002-6003-3800>)
Maintainer: Wenbo Lyu <lyu.geosocial@gmail.com>
Repository: CRAN
Date/Publication: 2026-04-10 11:00:21 UTC
Built: R 4.5.3; x86_64-w64-mingw32; 2026-05-06 19:09:36 UTC; windows
Archs: x64
