Historical and Ahistorical Population Projection Matrix Analysis
Overview
Complete analytical environment for the construction and analysis of matrix population models and integral projection models. Includes the ability to construct historical matrices, which are 2d matrices comprising 3 consecutive times of demographic information. Estimates both raw and function-based forms of historical and standard ahistorical matrices. It also estimates function-based age-by-stage matrices and raw and function-based Leslie matrices.
NEW FEATURES
- Function
lambda3()can now calculate the dominant eigenvalue of theA,U, orFmatrices, using thestyleargument. - Function
bootstrap3()now replaces individual identity with unique values ifrename = TRUE.
USER VISIBLE CHANGES
- Matrix creation functions now give more meaningful error messages when lefkoMod objects are input without their original
hfvdatadatasets.
BUG FIXES
- Corrected issue in which ahistorical or age-by-stage MPMs can be misidentified as historical by function
stage_weight(). - Function
bootstrap3()no longer throws an exception when using string-based individual identities.
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
- OK13 OK2026-05-02
Show 5 earlier changesHide 5 earlier changes
- NOTE11 OK, 1 NOTE2026-04-26
- ERROR10 OK, 1 NOTE, 1 ERROR2026-04-25
- NOTE11 OK, 3 NOTE2026-04-22
- ERROR10 OK, 3 NOTE, 1 ERROR2026-04-18
- NOTE11 OK, 3 NOTE2026-03-10
Documentation
- Help pages
- 98includes a package overview page
- Examples that run
- 91%87 run in a plain check · 9 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 98%
- Documented parameters
- 99%
- Return-value docs
- 100%
- Help pages citing references
- 1%
Downloads
Repository
Checks run against github.com/dormancy1/lefko3 on 2026-10-18.
No development-tooling practices detected in the upstream repository.
Dependencies
Installing lefko3 adds 62 packages (35 with compiled code, 80 MB of source tarballs). Heaviest: BH 14 MB, stringi 11 MB, ggplot2 6.0 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 6.7.3Latest
- RR 4.6.0 released · 2026-04-24
- 6.7.22026-02-11 · diff ↗
- 6.7.1
- 6.6.0
- 6.5.12025-08-29 · diff ↗
- 6.5.02025-05-02 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 6.4.0
- 6.3.22025-01-07 · diff ↗
- 6.3.1
- RR 4.4.0 released · 2024-04-24
- 6.2.12024-02-24 · diff ↗
- 6.2.0
- 6.1.3
- 6.1.12023-10-13 · diff ↗
Show 37 earlier eventsHide 37 earlier events
- 6.1.0
- 6.0.52023-05-03 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 6.0.0
- 5.5.02022-09-14 · diff ↗
- 5.4.22022-08-09 · diff ↗
- 5.3.0
- 5.2.0
- RR 4.2.0 released · 2022-04-22
- 5.1.02022-04-04 · diff ↗
- 5.0.1
- 4.2.0
- 4.1.12021-12-07 · diff ↗
- 4.1.0
- 4.0.1
- 3.8.0
- 3.7.0
- 3.6.02021-07-22 · diff ↗
- unarchivedReturned to CRAN2021-07-12
- 3.5.22021-07-12 · diff ↗
- archivedRemoved from CRAN2021-07-10requires archived package 'glmmTMB'
- 3.5.02021-06-29 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 3.4.0
- 3.3.22021-02-26 · diff ↗
- 3.3.1
- 3.2.0
- 3.1.22020-11-16 · diff ↗
- 3.1.12020-11-13 · diff ↗
- 3.1.0
- 3.0.0
- unarchivedReturned to CRAN2020-09-17
- 2.4.22020-09-17 · diff ↗
- archivedRemoved from CRAN2020-09-08check problems were not corrected in time ASAN, valgrind
- 2.3.0
- 2.2.22020-08-03
- RR 4.0.0 released · 2020-04-24
Package metadata
- First published
- 2020-08-03
- Total releases
- 42 / 6 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 29 KB / 5 files
- Download size
- 3.0 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("lefko3")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1111/2041-210x.13526.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.