dyadMLM
dyadMLM is an R package for preparing and checking cross-sectional and intensive longitudinal dyadic data for linear and generalized linear mixed-effects models. It supports the Actor–Partner Interdependence Model, Dyad–Individual Model, and Dyadic Score Model parameterizations and provides post-estimation tools. Models are fitted with packages such as glmmTMB or brms.
- Documentation & vignettes (opens in a new tab)
- Dyadic Data Analysis Summer School at Charité (opens in a new tab)Interactive materials for my dyadic data analysis workshop at the Charité – Universitätsmedizin Berlin Summer School. They include conceptual slides on the APIM, DIM, DSM, and related models, an applied APIM tutorial using dyadMLM and glmmTMB for cross-sectional and intensive longitudinal data, and exercises.
- Bayesian APIM & DIM tutorial (brms) (opens in a new tab)An interactive tutorial and quick guides for distinguishable and exchangeable dyads, using dyadMLM and brms for cross-sectional and intensive longitudinal data. DOI: 10.5281/zenodo.17400655 (opens in a new tab).
Suggested citationKüng, P. (2026). dyadMLM: Tools for dyadic multilevel models (Version 0.2.0) [R package]. https://doi.org/10.5281/zenodo.22047083 (opens in a new tab)
