| boot.modmed.mlm | Boot function for (moderated) mediation with 2-level multilevel models |
| boot.modmed.mlm.custom | Bootstrapping multilevel mediation model (without boot package) |
| bootresid.modmed.mlm | Custom function for residual bootstrap for (moderated) multilevel mediation |
| BPG06dat | Simulated dataset from Bauer, Preacher, and Gil (2006) |
| extract.boot.modmed.mlm | Post-processing of bootstrap results from boot.modmed.mlm |
| extract.modmed.mlm | Post-processing of a model fit with modmed.mlm |
| extract.modmed.mlm.brms | Post-processing of results from modmed.mlm.brms |
| modmed.mlm | Model definition and estimation function for two-level (moderated) mediation |
| modmed.mlm.brms | Custom model fitting function for a 1-1-1 (moderated) mediation for the brms code |
| simdat | A simulated dataset with moderator |
| stack_bpg | Stacks data in the style of Bauer-Preacher-Gil for multilevel mediation |