Diversity-Interactions (DI) Models
Overview
The 'DImodels' package is suitable for analysing data from biodiversity and ecosystem function studies using the Diversity-Interactions (DI) modelling approach introduced by Kirwan et al. (2009) doi:10.1890/08-1684.1. Suitable data will contain proportions for each species and a community-level response variable, and may also include additional factors, such as blocks or treatments. The package can perform data manipulation tasks, such as computing pairwise interactions (the DI_data() function), can perform an automated model selection process (the autoDI() function) and has the flexibility to fit a wide range of user-defined DI models (the DI() function).
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 26includes a package overview page
- Examples that run
- 100%24 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 97%
- Return-value docs
- 100%
- Help pages citing references
- 92%
- DImodels HTML
Downloads
Repository
- PRs merged (all time)
- 0%
- Median days to close, 50 most recently updated closed issues
- not measured
- Median days to close, 50 most recently updated closed PRs
- 59
Stars over time
Releases over time
PRs over time
Commits over time
5 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/rafamoral/dimodels on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Dependencies
Installing DImodels adds 25 packages (10 with compiled code, 26 MB of source tarballs). Heaviest: TH.data 8.2 MB, ggplot2 6.0 MB, isoband 1.5 MB.
Code & Tests
Datasets
People & History
Package metadata
- First published
- 2020-10-01
- Total releases
- 8 / 6 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 3.6.0
- Bundled data
- 34 KB / 11 files
- Download size
- 210 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("DImodels")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1111/2041-210x.14158, 10.1890/08-1684.1.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.