samc: Spatial Absorbing Markov Chains

Implements functions for working with absorbing Markov chains. The implementation is based on the framework described in "Toward a unified framework for connectivity that disentangles movement and mortality in space and time" by Fletcher et al. (2019) <doi:10.1111/ele.13333>, which applies them to spatial ecology. This framework incorporates both resistance and absorption with spatial absorbing Markov chains (SAMC) to provide several short-term and long-term predictions for metrics related to connectivity in landscapes. Despite the ecological context of the framework, this package can be used in any application of absorbing Markov chains.

Version: 3.3.0
Depends: R (≥ 3.6.0)
Imports: methods, Matrix (≥ 1.5-3), raster, terra (≥ 1.7-3), circular
LinkingTo: Rcpp (≥ 1.0.10), RcppEigen (≥, RcppThread (≥ 2.1.3)
Suggests: knitr, rmarkdown, testthat, gdistance, viridisLite
Published: 2024-07-11
DOI: 10.32614/CRAN.package.samc
Author: Andrew Marx ORCID iD [aut, cre, cph], Robert Fletcher ORCID iD [ctb], Miguel Acevedo ORCID iD [ctb], Jorge Sefair ORCID iD [ctb], Chao Wang ORCID iD [ctb], Hughes Josie ORCID iD [ctb], Barrett Griffin [ctb]
Maintainer: Andrew Marx <ajm.rpackages at>
License: AGPL (≥ 3)
NeedsCompilation: yes
Citation: samc citation info
Materials: NEWS
CRAN checks: samc results


Reference manual: samc.pdf
Vignettes: Overview


Package source: samc_3.3.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): samc_3.3.0.tgz, r-oldrel (arm64): samc_3.3.0.tgz, r-release (x86_64): samc_3.3.0.tgz, r-oldrel (x86_64): samc_3.3.0.tgz
Old sources: samc archive


Please use the canonical form to link to this page.