Package: spEDM 1.14

Wenbo Lyu

spEDM: Spatial Empirical Dynamic Modeling

Inferring causation from spatial cross-sectional data through empirical dynamic modeling (EDM), with methodological extensions including geographical convergent cross mapping from Gao et al. (2023) <doi:10.1038/s41467-023-41619-6>, geographical cross mapping cardinality as introduced by Lyu et al. (2026) <doi:10.1080/13658816.2026.2687121>, as well as the spatial causality test following the approach of Herrera et al. (2016) <doi:10.1111/pirs.12144>, together with geographical pattern causality proposed in Zhang & Wang (2025) <doi:10.1080/13658816.2025.2581207>.

Authors:Wenbo Lyu [aut, cre, cph]

spEDM_1.14.tar.gz
spEDM_1.14.zip(r-4.7-x86_64)spEDM_1.14.zip(r-4.7-arm64)spEDM_1.14.zip(r-4.6-x86_64)spEDM_1.14.zip(r-4.6-arm64)spEDM_1.14.zip(r-4.5-x86_64)
spEDM_1.14.tgz(r-4.6-x86_64)spEDM_1.14.tgz(r-4.6-arm64)spEDM_1.14.tgz(r-4.5-x86_64)spEDM_1.14.tgz(r-4.5-arm64)
spEDM_1.14.tar.gz(r-4.7-arm64)spEDM_1.14.tar.gz(r-4.7-x86_64)spEDM_1.14.tar.gz(r-4.6-arm64)spEDM_1.14.tar.gz(r-4.6-x86_64)
spEDM_1.14.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
spEDM/json (API)

# Install 'spEDM' in R:
install.packages('spEDM', repos = c('https://stscl.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/stscl/spedm/issues

Pkgdown/docs site:https://stscl.github.io

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library

On CRAN:

Conda:

causal-analysiscausal-discoverycausal-inferencecausal-influencecausal-interactionscausal-networkscppempirical-dynamic-modelinggeoinformaticsgeospatial-causalityspatial-analysisspatial-data-analysisspatial-data-sciencespatial-statisticsopenblascppopenmp

8.65 score 78 stars 42 scripts 706 downloads 14 exports 50 dependencies

Last updated from:8d74d10fe7. Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK236
linux-devel-x86_64OK196
source / vignettesOK500
linux-release-arm64OK214
linux-release-x86_64OK272
macos-release-arm64OK259
macos-release-x86_64OK468
macos-oldrel-arm64OK240
macos-oldrel-x86_64OK557
windows-devel-arm64OK372
windows-devel-x86_64OK337
windows-release-arm64OK485
windows-release-x86_64OK307
windows-oldrel-x86_64OK259
wasm-releaseOK216

Exports:detectThreadsembeddedfnngccmgcmcgpcicmultiviewpcsc.testscpcmsimplexslmsmap

Dependencies:bootclassclassIntclicpp11DBIdeldirdigestdplyre1071farvergenericsgeosphereggplot2gluegtableisobandKernSmoothlabelinglatticelifecyclemagrittrpanderpillarpkgconfigproxypurrrR6RColorBrewerRcppRcppArmadilloRcppThreadrlangs2S7scalessdsfunsfspspDataspdepterratibbletidyselectunitsutf8vctrsviridisLitewithrwk

Introduction to the spEDM package
Overview | Installation | Data | Columbus OH spatial analysis dataset | County-level population density in mainland China | Farmland NPP and related variables in mainland China | Usage | References

Last update: 2026-09-09
Started: 2025-12-01

State Space Reconstruction
Methodological Background | Usage examples | Example of spatial vector data | Example of spatial raster data

Last update: 2026-09-09
Started: 2025-12-01

Geographical Convergent Cross Mapping
Methodological Background | Usage examples | Example of spatial vector data | Example of spatial raster data

Last update: 2026-09-09
Started: 2025-12-01

Geographical Pattern Causality
Methodological Background | Usage examples | Example of spatial vector data | Example of spatial raster data

Last update: 2026-09-09
Started: 2025-12-01

Geographical Cross Mapping Cardinality
Methodological Background | Usage examples | Example of spatial vector data | Example of spatial raster data

Last update: 2026-09-09
Started: 2025-12-01

Spatially Convergent Partial Cross Mapping
Model principles | Usage examples | Example of spatial vector data | Example of spatial raster data

Last update: 2026-09-09
Started: 2026-01-23

Spatial Logistic Map
Methodological Background | Usage examples

Last update: 2026-09-09
Started: 2025-12-01

Spatial Causality Test
Methodological Background | Usage examples | Example of spatial vector data | Example of spatial raster data

Last update: 2026-09-09
Started: 2025-12-01

Readme and manuals

Help Manual

Help pageTopics
detect the number of available threadsdetectThreads
spatial-lag embeddingembedded embedded,sf-method embedded,SpatRaster-method
false nearest neighboursfnn fnn,sf-method fnn,SpatRaster-method
geographical convergent cross mappinggccm gccm,sf-method gccm,SpatRaster-method
geographical cross mapping cardinalitygcmc gcmc,sf-method gcmc,SpatRaster-method
geographical pattern causalitygpc gpc,sf-method gpc,SpatRaster-method
optimal parameter search for intersectional cardinalityic ic,sf-method ic,SpatRaster-method
multiview embedding forecastmultiview multiview,sf-method multiview,SpatRaster-method
optimal parameter search for pattern causalitypc pc,sf-method pc,SpatRaster-method
spatial causality testsc.test sc.test,sf-method sc.test,SpatRaster-method
spatially convergent partial cross mappingscpcm scpcm,sf-method scpcm,SpatRaster-method
optimal parameter search for simplex projectionsimplex simplex,sf-method simplex,SpatRaster-method
spatial logistic mapslm slm,sf-method slm,SpatRaster-method
optimal parameter search for s-mappingsmap smap,sf-method smap,SpatRaster-method