Package: mlmoderator 0.3.0.9000
mlmoderator: Probing, Plotting, and Interpreting Multilevel Interaction Effects
Provides a workflow for probing, plotting, and checking cross-level interaction effects in two-level mixed-effects models fitted with 'lme4' (Bates et al., 2015) <doi:10.18637/jss.v067.i01>. Implements simple slopes analysis following Aiken and West (1991, ISBN:9780761907121), Johnson-Neyman intervals following Johnson and Fay (1950) <doi:10.1007/BF02288864> and Bauer and Curran (2005) <doi:10.1207/s15327906mbr4003_5>, and grand- or group-mean centering as described in Enders and Tofighi (2007) <doi:10.1037/1082-989X.12.2.121>. Tests and intervals use Satterthwaite degrees of freedom via 'lmerTest' (Kuznetsova et al., 2017) <doi:10.18637/jss.v082.i13> by default, with Kenward-Roger and between-cluster alternatives. Also provides confidence and new-cluster prediction intervals for simple slopes in random-slope models, contour plots of predicted outcomes over the predictor-by-moderator space, and leave-one-cluster-out influence diagnostics for the interaction.
Authors:
mlmoderator_0.3.0.9000.tar.gz
mlmoderator_0.3.0.9000.zip(r-4.7-any)mlmoderator_0.3.0.9000.zip(r-4.6-any)mlmoderator_0.3.0.9000.zip(r-4.5-any)
mlmoderator_0.3.0.9000.tgz(r-4.6-any)mlmoderator_0.3.0.9000.tgz(r-4.5-any)
mlmoderator_0.3.0.9000.tar.gz(r-4.7-any)mlmoderator_0.3.0.9000.tar.gz(r-4.6-any)
mlmoderator_0.3.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
mlmoderator/json (API)
| # Install 'mlmoderator' in R: |
| install.packages('mlmoderator', repos = c('https://subirhait.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/subirhait/mlmoderator/issues
- school_data - Simulated school achievement dataset
Last updated from:1d5794a74d. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 151 | ||
| source / vignettes | OK | 196 | ||
| linux-release | OK | 175 | ||
| macos-release | OK | 223 | ||
| macos-oldrel | OK | 228 | ||
| windows-devel | OK | 87 | ||
| windows-release | OK | 157 | ||
| windows-oldrel | OK | 113 | ||
| wasm-release | OK | 108 |
Exports:mlm_centermlm_jnmlm_plotmlm_probemlm_sensitivitymlm_summarymlm_surfacemlm_variance_decomp
Dependencies:bootclicpp11farverggplot2gluegtableisobandlabelinglatticelifecyclelme4lmerTestMASSMatrixminqanlmenloptrnumDerivR6rbibutilsRColorBrewerRcppRcppEigenRdpackreformulasrlangS7scalesvctrsviridisLitewithr
Last update: 2026-10-07
Started: 2026-10-07
Last update: 2026-03-19
Started: 2026-03-19
Last update: 2026-03-19
Started: 2026-03-19
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Center variables for multilevel modeling | mlm_center |
| Johnson-Neyman interval for multilevel two-way interactions | mlm_jn |
| Publication-ready interaction plot for multilevel models | mlm_plot |
| Probe simple slopes from a multilevel interaction | mlm_probe |
| Leave-one-cluster-out influence diagnostics for a cross-level interaction | mlm_sensitivity |
| Summary table for a multilevel moderation effect | mlm_summary |
| Contour plot of predicted outcomes over the predictor x moderator space | mlm_surface |
| Confidence and prediction intervals for simple slopes in a random-slope model | mlm_variance_decomp |
| Plot a Johnson-Neyman interval from a multilevel model | plot.mlm_jn |
| Plot leave-one-cluster-out influence for a cross-level interaction | plot.mlm_sensitivity |
| Plot the variance decomposition of simple slopes | plot.mlm_variance_decomp |
| Simulated school achievement dataset | school_data |