Skip to content

exactLTRE

An Exact Method for Life Table Response Experiment (LTRE) Analysis

v0.1.2 · Jun 28, 2025 · MIT + file LICENSE

Description

Life Table Response Experiments (LTREs) are a method of comparative demographic analysis. The purpose is to quantify how the difference or variance in vital rates (stage-specific survival, growth, and fertility) among populations contributes to difference or variance in the population growth rate, "lambda." We provide functions for one-way fixed design and random design LTRE, using either the classical methods that have been in use for several decades, or an fANOVA-based exact method that directly calculates the impact on lambda of changes in matrix elements, for matrix elements and their interactions. The equations and descriptions for the classical methods of LTRE analysis can be found in Caswell (2001, ISBN: 0878930965), and the fANOVA-based exact methods are described in Hernandez et al. (2023) <doi:10.1111/2041-210X.14065>. We also provide some demographic functions, including generation time from Bienvenu and Legendre (2015) <doi:10.1086/681104>. For implementation of exactLTRE where all possible interactions are calculated, we use an operator matrix presented in Poelwijk, Krishna, and Ranganathan (2016) <doi:10.1371/journal.pcbi.1004771>.

Downloads

CRAN

280

Last 30 days

17086th

658

Last 90 days

2.7K

Last year

Trend: +80.7% (30d vs prior 30d)

r2u CRAN

0

Last 30 days

42

Last 90 days

180

Last year

Trend: -100% (30d vs prior 30d)

autoCRAN

0

Last 7 days

10

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
WARNING 12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE Jun 8, 2026
WARNING r-devel-linux-x86_64-debian-gcc

Rd files

cannot open the connection
cannot open the connection
cannot open the connection
cannot open the connection
cannot open the connection
cannot open the connection
problems found in ‘make.Gmatrix.Rd’, ‘mean_matrix.Rd’, ‘r_nought.Rd’, ‘reMat.Rd’, ‘run_matrix_checks.Rd’, ‘variance_complete.Rd’
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

2,434

Files

38

Compiled share

0%

Has compiled src

No

Language breakdown

R 1,387 (57%)Docs 1,047 (43%)

API

Exported functions

22

Internal functions

0

Recent export changes

v0.1.0+22 calc_matrix_effects, calc_matrix_responses, classicalLTRE +19 more

Testing & CI

Has tests

No

Test-to-code ratio

0.00

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.5.0

System requirements

C++ standard

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

2

First release

2022-11-17

Latest release

2025-06-28

Avg cadence

954 days

Cold removal rate

Dep drift

0

LOC over versions

v0.1.0: 2,434 LOCv0.1.2: 2,434 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies matrixcalc popdemo exactLTRE

Version History

3 tracked
new 0.1.2 Mar 10, 2026
updated 0.1.2 ← 0.1.0 diff Jun 28, 2025
new 0.1.0 Nov 16, 2022