DImodelsMulti: An R package for fitting Diversity‐Interactions models to repeated measures or multivariate data
Abstract Diversity‐Interactions (DI) modelling is a regression‐based approach used for modelling the biodiversity and ecosystem function (BEF) relationship. This methodology assesses the effects of manipulating (initial) species richness, composition (species identities) and species proportions on ecosystem function responses measured at a later point in time. The models separate the effects of each individual species and test the strength of potential species interactions. Univariate DI models for a continuous response measured at a singular time point can be fit using the DImodels R package. This package contains highly customisable fitting options but cannot handle datasets where multiple ecosystem functions (multivariate) or multiple time points (repeated measures) have been recorded. While multiple ecosystem functions or time points can be analysed separately, it is often desirable to formally compare across the functions or time points. This requires covariances between the multiple measurements from the same study unit to be explicitly captured in the modelling framework. We present DImodelsMulti , an R package that complements and extends DImodels . It enables the fitting of multivariate or repeated measures DI models in a user‐friendly way. For multivariate data, fitted models can be used to predict for each ecosystem function, and the relative importance of model predictors can be assessed by comparing across the multiple responses. For repeated measures data, fitted models can be used to predict at each time point, and temporal patterns can be formally assessed and tested.
Authors
- Caroline Brophy (ORCID: https://orcid.org/0000-0003-2888-4082)
- Laura Byrne (ORCID: https://orcid.org/0000-0003-2420-4019)
- Rishabh Vishwakarma (ORCID: https://orcid.org/0000-0002-4847-3494)
- Rafael A. Moral
Institutions
- National University of Ireland, Maynooth (IE)
- Trinity College Dublin (IE)
- University College Cork (IE)
Publication Details
- Journal
- Methods in Ecology and Evolution
- Published
- 2026-02-03
- DOI
- https://doi.org/10.1111/2041-210x.70251
- Primary Topic
- Ecology and Vegetation Dynamics Studies
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Science Foundation Ireland