Package: dyadMLM Title: Tools for Dyadic Multilevel Models Version: 0.3.0.9000 Date: 2026-10-28 Authors@R: person("Pascal", "Küng", , "kueng.pascal@gmail.com", role = c("aut", "cre", "cph"), comment = c(ORCID = "0000-0001-7346-9414")) Description: 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), Dyad-Individual Models (DIMs), and Dyadic Score Models (DSMs). 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. Experimental predictive checks compare observed and simulated response variances and partner correlations in Gaussian and selected non-Gaussian models. Distributional diagnostics separately check response distributions and residual patterns, using simulations that retain partner and time dependence. The APIM and DSM specifications and their relationships follow Iida et al. (2018) ; the multilevel sum-and-difference random-effects implementation for exchangeable dyads adapts del Rosario and West (2025) . License: GPL-3 Encoding: UTF-8 Roxygen: list(markdown = TRUE) RoxygenNote: 8.0.0 Suggests: brms, glmmTMB (>= 1.1.11), htmltools, knitr, lavaan, lifecycle, qgam, rmarkdown, spelling, testthat (>= 3.1.7) Config/testthat/edition: 3 Imports: cli, dplyr (>= 1.1.1), pillar, rlang (>= 0.4.0), tidyselect, tibble (>= 3.0.0), withr (>= 3.0.3) VignetteBuilder: knitr, rmarkdown Depends: R (>= 4.1) LazyData: true URL: https://pascal-kueng.github.io/dyadMLM/, https://github.com/Pascal-Kueng/dyadMLM BugReports: https://github.com/Pascal-Kueng/dyadMLM/issues Language: en-US Repository: https://pascal-kueng.r-universe.dev Date/Publication: 2026-10-31 16:08:35 UTC RemoteUrl: https://github.com/Pascal-Kueng/dyadMLM RemoteRef: HEAD RemoteSha: fddbd2dab911ece8b31287cfc6579a95e5b1db09 NeedsCompilation: no Packaged: 2026-10-31 18:58:51 UTC; root Author: Pascal Küng [aut, cre, cph] (ORCID: ) Maintainer: Pascal Küng