dsem
3.0.0Dynamic Structural Equation Models
Overview
Applies dynamic structural equation models to time-series data with generic and simplified specification for simultaneous and lagged effects. Methods are described in Thorson et al. (2024) "Dynamic structural equation models synthesize ecosystem dynamics constrained by ecological mechanisms."
Install
Health
- OK2026-07-2213 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-05-0212 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-04-2512 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-03-1011 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 97%
- Return-value docs
- 78%
- References docs
- 20%
Downloads
Repository
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
Repository practices
3 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/james-thorson-noaa/dsem on 2026-07-19.
Dependencies
Code & Tests
- Cyclomatic complexity
- 4.0 median / 48 max
- Test cases
- 16 / 0.20 per code line
Test coverage
Line coverage
50%
Expression
49.1%
Tests / Examples
50.5% / 44% ex
Functions
55 23 exported
Complexity
7.1 avg / 48 max
Call network
55 nodes / 39 edges
Call graph
Open call graph →Lowest coverage
55 functions| Function | Cyclo | Coverage |
|---|---|---|
| TMBAIC exp | 3 | 0% |
| cAIC exp | 4 | 0% |
| lognormal exp | 3 | 0% |
| loo_residuals exp | 11 | 0% |
| make_dfa exp | 6 | 0% |
| make_msv exp | 7 | 0% |
Datasets
| Name | Class | Rows × Cols | Also ships in |
|---|---|---|---|
| bering_sea | data.frame | 61 × 8 | – |
| hare_lynx | data.frame | 21 × 3 | – |
| isle_royale | data.frame | 61 × 3 | – |
| lake_washington | data.frame | 396 × 6 | – |
| paramesium_didinium | data.frame | 71 × 3 | – |
| pdo_departure_bay | data.frame | 104 × 3 | – |
People & History
15 releases. Pick two to compare their code metrics. R releases are shown for context.
- 3.0.0Latest
- 2.0.12026-05-14 · diff ↗
- 2.0.02026-05-12 · diff ↗
- RR 4.6.0 released · 2026-04-24
- 1.7.02025-09-16 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 1.6.02025-03-22 · diff ↗
- 1.5.02025-02-13 · diff ↗
- 1.4.12025-02-02 · diff ↗
- 1.4.02025-01-13 · diff ↗
- 1.3.02024-07-22 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 1.2.12024-04-03 · diff ↗
- 1.2.02024-03-31 · diff ↗
- 1.1.02024-02-17 · diff ↗
- 1.0.22024-02-02 · diff ↗
Show 3 earlier events
- 1.0.12024-01-18 · diff ↗
- 1.0.02023-12-08
- RR 4.3.0 released · 2023-04-21
Package metadata
- First published
- 2023-12-08
- Total releases
- 15 / 3 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 4.0.0
- Bundled data
- 17 KB / 7 files
- Download size
- 1.5 MB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet