Skip to content

Spatial Absorbing Markov Chains

0packages depend
7.5Kdownloads / year
52.9%test coverage
13/13flavors OK

Overview

About

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.

Changes in 4.2.1

CRW optimizations and enhancements

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 18.2 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-10-15
  • ERROR12 OK, 1 ERROR2026-09-25
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
Show 6 earlier changesHide 6 earlier changes
  • ERROR12 OK, 1 ERROR2026-06-08
  • WARNING12 OK, 1 WARNING2026-06-07
  • OK12 OK2026-04-25
  • NOTE12 OK, 2 NOTE2026-04-22
  • ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 4.2.1
README· In the repository, left out of the releaseVignettesYes · 1 · staticNEWSYes · 100% structured · mentions 4.2.1Citation fileYes · cites a publicationWebsiteYes · pkgdown
Help pages
24 (5 internal)
Examples that run
100%14 run in a plain check
Exported functions with examples
100%
Documented parameters
not tracked
Return-value docs
not tracked
Help pages citing references
0%
Vignettes (1)

Downloads

7.5K
CRAN downloads in the past year
Rank #4,824 · ~21/day · ~629/mo
Daily download trend is not available in this view yet.
66430 days
1.7K90 days
7.5K1 year
Compare downloads with other packages →
Also on380 r2u5 autocran

Repository

15Stars
5Forks
4Open issues
0Open PRs
13Releases
768Commits
1Commit identities
absorbing-markov-chainsconnectivitycranlandscape-ecologylandscape-metricsmarkov-chainr
License file reads as AGPL-3.0 · 768 commits · Last activity 2026-01-16 · 0% stars, 30d · The default branch showed an older version (4.0.0) than CRAN on 2026-10-18 · Discussions: 8 posts
Responsiveness
How these are sampled
PRs merged (all time)
0%
Median days to close, 50 most recently updated closed issues
140
Median days to close, 50 most recently updated closed PRs
1

Stars over time

2025-05-01 · 142026-07-07 · 15
PracticesBeta

8 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/andrewmarx/samc on 2026-10-18.

Continuous integration (1)
GitHub Actions
Docs source (3)
pkgdown

GitHub Pages site last deployed 2026-01-16 · The repository has a site deploy workflow

pkgdown site last built 2026-01-16, before release 4.2.1 (2026-03-13)

CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Lint, format, editor (2)
lintrRStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)

Installing samc adds 6 packages (6 with compiled code, 10 MB of source tarballs). Heaviest: sp 4.3 MB, Rcpp 1.8 MB, RcppEigen 1.7 MB.

Depends (1)
R >= 3.6.0
Imports (4)
methodsMatrixrasterterra
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (7)
Author, Maintainer since 1.0.3 (2019), Copyright holder
Contributor
Contributor
Contributor · added in 3.1.0
Contributor · added in 3.1.0
Contributor
Contributor
Releases (18)

Pick two releases to compare their code metrics.

Show 10 earlier eventsHide 10 earlier events

Package metadata

First published
2019-08-21
Total releases
18 / 7 yrs
License
AGPL (>= 3) OSI · relicensed from GPL (>= 3) in 3.3.0
Minimum R
≥ 3.6.0
Bundled data
3.1 KB / 3 files
Download size
570 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("samc")

The package provides a citation file that builds its entry when R runs it. Run citation() to see it.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for samc version 4.2.1 [Data set]. HJJB, LLC. Data release v2026-10-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy