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: 1.4.0
Depends: R (≥ 3.3.0)
Imports: methods, gdistance, Matrix, raster
LinkingTo: Rcpp (≥ 1.0.1), RcppEigen (≥
Suggests: knitr, rmarkdown, testthat, viridisLite
Published: 2021-06-27
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]
Maintainer: Andrew Marx <andrewjmarx at>
License: GPL (≥ 3)
NeedsCompilation: yes
Citation: samc citation info
Materials: NEWS
CRAN checks: samc results


Reference manual: samc.pdf
Vignettes: Code Snippets
Basic Tutorial
ggplot Visualization
Multiple Absorption Tutorial
Temporal Analysis
Package source: samc_1.4.0.tar.gz
Windows binaries: r-devel:, r-devel-UCRT:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): samc_1.4.0.tgz, r-release (x86_64): samc_1.4.0.tgz, r-oldrel: samc_1.4.0.tgz
Old sources: samc archive


Please use the canonical form to link to this page.