Package: spEDM 1.12

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>, 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.12.tar.gz
spEDM_1.12.tar.gz(r-4.7-arm64)spEDM_1.12.tar.gz(r-4.7-x86_64)spEDM_1.12.tar.gz(r-4.6-arm64)spEDM_1.12.tar.gz(r-4.6-x86_64)
spEDM_1.12.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
spEDM/json (API)
NEWS

# Install 'spEDM' in R:
install.packages('spEDM', repos = c('https://cran.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

On CRAN:

Conda:

openblascpp

4.74 score 23 scripts 632 downloads 14 exports 51 dependencies

Last updated from:5ad9e7ade9. Checks:6 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK322
linux-devel-x86_64OK370
source / vignettesOK410
linux-release-arm64OK326
linux-release-x86_64OK295
wasm-releaseOK240

Exports:detectThreadsembeddedfnngccmgcmcgpcicmultiviewpcsc.testscpcmsimplexslmsmap

Dependencies:bootclassclassIntclicpp11DBIdeldirdigestdplyre1071farvergenericsgeosphereggplot2gluegtableisobandKernSmoothlabelinglatticelifecyclemagrittrMASSpanderpillarpkgconfigproxypurrrR6RColorBrewerRcppRcppArmadilloRcppThreadrlangs2S7scalessdsfunsfspspDataspdepterratibbletidyselectunitsutf8vctrsviridisLitewithrwk

Introduction to the spEDM package

Rendered frommain1_pkgintro.Rmdusingknitr::rmarkdownon Jun 04 2026.

Last update: 2026-04-05
Started: 2026-02-01

State Space Reconstruction

Rendered frommain2_ssr.Rmdusingknitr::rmarkdownon Jun 04 2026.

Last update: 2026-04-05
Started: 2026-02-01

Geographical Convergent Cross Mapping

Rendered frommain3_gccm.Rmdusingknitr::rmarkdownon Jun 04 2026.

Last update: 2026-04-05
Started: 2026-02-01

Geographical Pattern Causality

Rendered frommain4_gpc.Rmdusingknitr::rmarkdownon Jun 04 2026.

Last update: 2026-04-05
Started: 2026-02-01

Geographical Cross Mapping Cardinality

Rendered frommain5_gcmc.Rmdusingknitr::rmarkdownon Jun 04 2026.

Last update: 2026-04-05
Started: 2026-02-01

Spatially Convergent Partial Cross Mapping

Rendered frommain6_scpcm.Rmdusingknitr::rmarkdownon Jun 04 2026.

Last update: 2026-04-05
Started: 2026-02-01

Spatial Logistic Map

Rendered fromsi1_slm.Rmdusingknitr::rmarkdownon Jun 04 2026.

Last update: 2026-04-05
Started: 2026-02-01

Spatial Causality Test

Rendered fromsi2_sct.Rmdusingknitr::rmarkdownon Jun 04 2026.

Last update: 2026-04-05
Started: 2026-02-01

Readme and manuals

Help Manual

Help pageTopics
detect the number of available threadsdetectThreads
embedding spatial cross sectional dataembedded 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