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

171

Version

1.9

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Wenbo Lv

Last Published

November 30th, 2025

Functions in spEDM (1.9)

ic

optimal parameter search for intersection cardinality
fnn

false nearest neighbours
gpc

geographical pattern causality
pc

optimal parameter search for pattern causality
detectThreads

detect the number of available threads
gccm

geographical convergent cross mapping
embedded

embedding spatial cross sectional data
gcmc

geographical cross mapping cardinality
multiview

multiview embedding forecast
sc.test

spatial causality test
smap

optimal parameter search for smap forecasting
simplex

optimal parameter search for simplex forecasting
slm

spatial logistic map