Simulation of Matrix Population Models with Defined Life History Characteristics
Overview
Allows users to simulate matrix population models with particular characteristics based on aspects of life history such as mortality trajectories and fertility trajectories. Also allows the exploration of sampling error due to small sample size.
- Fixed typo in
calculate_errors(): themat_U_errorelement in the returned list was incorrectly named,mat_U_errorwhentype = "sem", causingNULLto be returned on access. - Fixed broken vectorisation in
driven_vital_rate(): conditionslength(slope > 1)andlength(error_sd > 1)were always evaluating toTRUEregardless of input, preventing correct handling of matrix inputs. - Fixed wrong parameter row indices in
rand_leslie_set()for the Siler mortality model (b_0andb_1were drawn from the same ranges asa_0anda_1) and for multi-parameter fecundity models (logistic,vonBertalanffy,normal,hadwiger), where all parameters were incorrectly drawn from the first row offecundity_params. - Removed orphaned expression in internal function
add_mpm_error_indiv()that had no effect.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
Documentation signals are not tracked yet for this package.
Downloads
Repository
- PRs merged (all time)
- 86%
- Median days to close, 50 most recently updated closed issues
- 74
- Median days to close, 50 most recently updated closed PRs
- 0
12 development-tooling and community-health practices detected across 7 families in the upstream repository
Checks run against github.com/jonesor/mpmsim on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows
GitHub Pages site last deployed 2026-08-10 · The repository has a site deploy workflow
pkgdown site last built 2026-08-10
Show all practicesHide 3 practices
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2026-04-21Named in .Rbuildignore: .claudePull request it wrote: opened by a project memberCommits: 6 by its own account · at least 6 crediting it in the message
Dependencies
Code & Tests
People & History
- 3.3.0Latest
- RR 4.6.0 released · 2026-04-24
- 3.2.12025-06-05 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 3.2.0
- 3.1.0
- 3.0.02024-07-02 · diff ↗ ·
added 6 exports
compute_ci_U, rand_lefko_mpm, rand_lefko_set, rand_leslie_set, reorganise_matrices, summarise_mpms - RR 4.4.0 released · 2024-04-24
- 2.0.02024-01-15 · diff ↗
- 1.1.0
- RR 4.3.0 released · 2023-04-21
- 1.0.02023-04-18
- RR 4.2.0 released · 2022-04-22
Package metadata
- First published
- 2023-04-18
- Total releases
- 8 / 3 yrs
- License
- CC BY-SA 4.0
- Download size
- 368 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("mpmsim")This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-19, which the citation names so these numbers can be found later. More on citing and the projects behind them.