Package: rmedsem 1.1.1

rmedsem: Statistical Mediation Analysis for SEMs

Conducts mediation analysis for structural equation models (SEM) estimated with 'lavaan', 'blavaan', 'cSEM', 'plssem', or 'modsem'. Implements the Baron and Kenny (1986) <doi:10.1037/0022-3514.51.6.1173> and Zhao, Lynch & Chen (2010) <doi:10.1086/651257> approaches to determine the presence and type of mediation. Supports covariance-based SEM, partial least squares SEM, Bayesian SEM, and moderated mediation and mediated moderation models. Tests indirect effects with the Sobel, Delta, Monte-Carlo, and bootstrap methods or, for Bayesian models, with posterior summaries and equal-tailed or highest density credible intervals. Reports the effect size measures RIT, RID, and Upsilon of Lachowicz, Preacher and Kelley (2018) <doi:10.1037/met0000165>. Results can be summarized, extracted with standard methods such as summary(), coef() and confint(), and plotted.

Authors:Mehmet Mehmetoglu [aut], Matthias Mittner [aut, cre], Kjell Slupphaug [aut]

rmedsem_1.1.1.tar.gz
rmedsem_1.1.1.zip(r-4.7-any)rmedsem_1.1.1.zip(r-4.6-any)rmedsem_1.1.1.zip(r-4.5-any)
rmedsem_1.1.1.tgz(r-4.6-any)rmedsem_1.1.1.tgz(r-4.5-any)
rmedsem_1.1.1.tar.gz(r-4.7-any)rmedsem_1.1.1.tar.gz(r-4.6-any)
rmedsem_1.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
rmedsem/json (API)

# Install 'rmedsem' in R:
install.packages('rmedsem', repos = c('https://ihrke.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/ihrke/rmedsem/issues

Pkgdown/docs site:https://ihrke.github.io

Datasets:
  • hsbdemo - High School and Beyond Demo Dataset
  • mchoice - Mate-Choice Survey Data from Trondheim
  • workout - Fitness Center Survey Data from Trondheim

On CRAN:

Conda:

4.31 score 3 stars 17 scripts 414 downloads 6 exports 24 dependencies

Last updated from:f02202b820. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK179
source / vignettesOK244
linux-releaseOK165
macos-releaseOK134
macos-oldrelOK186
windows-develOK105
windows-releaseOK115
windows-oldrelOK111
wasm-releaseOK155

Exports:plot_coefplot_effectRIDRITrmedsemUpsilon

Dependencies:clicpp11farverggplot2gluegtableisobandlabelinglavaanlifecycleMASSmnormtmvtnormnumDerivpbivnormquadprogR6RColorBrewerrlangS7scalesvctrsviridisLitewithr

Readme and manuals

Help Manual

Help pageTopics
Effect Sizes for Mediation Analysiseffect-sizes RID RID.default RID.rmedsem RIT RIT.default RIT.rmedsem Upsilon Upsilon.default Upsilon.rmedsem
High School and Beyond Demo Datasethsbdemo
Mate-Choice Survey Data from Trondheimmchoice
Plot rmedsem Resultsplot.rmedsem plot_coef plot_effect
Mediation Analysis for Structural Equation Modelsrmedsem rmedsem.blavaan rmedsem.cSEMResults rmedsem.default rmedsem.lavaan rmedsem.modsem rmedsem.PlsModel
Methods for rmedsem Objectsas.data.frame.rmedsem coef.rmedsem confint.rmedsem nobs.rmedsem print.rmedsem print.rmedsem_blavaan print.rmedsem_modsem print.summary.rmedsem rmedsem-methods summary.rmedsem
Fitness Center Survey Data from Trondheimworkout