The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

dyadMLM: Tools for Dyadic Multilevel Models

Provides tools for dyadic multilevel modeling with linear and generalized linear mixed-effects models. It validates and prepares long-format cross-sectional and intensive longitudinal data, including ecological momentary assessment designs, for distinguishable and exchangeable dyads. It also supports datasets containing multiple observed dyad compositions. It constructs composition-aware, model-ready variables for Actor-Partner Interdependence Models (APIMs), Dyadic Score Models (DSMs), and Dyad-Individual Models (DIMs). Prepared data can be used with model engines such as 'glmmTMB' and 'brms' for Gaussian and non-Gaussian outcomes, including counts, proportions, and skewed continuous responses. Post-estimation tools compare compatible fitted models and back-transform exchangeable sum-and-difference random-effect covariance structures into member-level quantities. The APIM and DSM specifications and their relationships follow Iida et al. (2018) <doi:10.1177/0265407517725407>; the multilevel sum-and-difference random-effects implementation for exchangeable dyads adapts del Rosario and West (2025) <doi:10.1177/25152459251351286>.

Version: 0.1.0
Depends: R (≥ 4.1)
Imports: dplyr (≥ 1.1.0), pillar, rlang (≥ 0.4.0), tidyselect, tibble (≥ 3.0.0)
Suggests: brms, glmmTMB, htmltools, knitr, lavaan, marginaleffects, rmarkdown, spelling, testthat (≥ 3.1.7)
Published: 2026-07-30
DOI: 10.32614/CRAN.package.dyadMLM
Author: Pascal Küng ORCID iD [aut, cre, cph]
Maintainer: Pascal Küng <kueng.pascal at gmail.com>
BugReports: https://github.com/Pascal-Kueng/dyadMLM/issues
License: MIT + file LICENSE
URL: https://pascal-kueng.github.io/dyadMLM/, https://github.com/Pascal-Kueng/dyadMLM
NeedsCompilation: no
Language: en-US
Citation: dyadMLM citation info
Materials: README, NEWS
CRAN checks: dyadMLM results

Documentation:

Reference manual: dyadMLM.html , dyadMLM.pdf
Vignettes: Actor-Partner Interdependence Model (APIM) (source, R code)
Dyad-Individual Model (source, R code)
Dyadic Score Model (DSM) (source, R code)
Getting Started (source, R code)

Downloads:

Package source: dyadMLM_0.1.0.tar.gz
Windows binaries: r-devel: dyadMLM_0.1.0.zip, r-release: dyadMLM_0.1.0.zip, r-oldrel: dyadMLM_0.1.0.zip
macOS binaries: r-release (arm64): dyadMLM_0.1.0.tgz, r-oldrel (arm64): dyadMLM_0.1.0.tgz, r-release (x86_64): dyadMLM_0.1.0.tgz, r-oldrel (x86_64): dyadMLM_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=dyadMLM to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.