Learn R Programming

spEDM

Spatial Empirical Dynamic Modeling

spEDM is an R package for spatial causal discovery. It extends Empirical Dynamic Modeling (EDM) from time series to spatial cross-sectional data, provides seamless support for vector and raster spatial data via tight integration with the sf and terra packages, and enables data-driven causal inference from spatial snapshots.

Refer to the package documentation https://stscl.github.io/spEDM/ for more detailed information.

Installation

  • Install from CRAN with:
install.packages("spEDM", dep = TRUE)
install.packages("spEDM",
                 repos = c("https://stscl.r-universe.dev",
                           "https://cloud.r-project.org"),
                 dep = TRUE)
  • Install from source code on GitHub with:
if (!requireNamespace("devtools")) {
    install.packages("devtools")
}
devtools::install_github("stscl/spEDM",
                         build_vignettes = TRUE,
                         dep = TRUE)

Copy Link

Version

Install

install.packages('spEDM')

Monthly Downloads

245

Version

1.11

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Wenbo Lv

Last Published

February 3rd, 2026

Functions in spEDM (1.11)

gcmc

geographical cross mapping cardinality
multiview

multiview embedding forecast
fnn

false nearest neighbours
pc

optimal parameter search for pattern causality
ic

optimal parameter search for intersectional cardinality
embedded

embedding spatial cross sectional data
sc.test

spatial causality test
gccm

geographical convergent cross mapping
gpc

geographical pattern causality
detectThreads

detect the number of available threads
simplex

optimal parameter search for simplex projection
scpcm

spatially convergent partial cross mapping
smap

optimal parameter search for s-mapping
slm

spatial logistic map