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.2.1
Depends: R (≥ 3.3.0)
Imports: methods, gdistance, Matrix, raster
LinkingTo: Rcpp (≥ 1.0.1), RcppEigen (≥
Suggests: knitr, rmarkdown, testthat, viridis
Published: 2020-11-02
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: Overview
Basic Tutorial
ggplot Visualization
Temporal Analysis
Package source: samc_1.2.1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release: samc_1.2.1.tgz, r-oldrel: samc_1.2.1.tgz
Old sources: samc archive


Please use the canonical form to link to this page.