Within-subject mediation analysis using structural equation modeling. Examine how changes in an outcome variable between two conditions are mediated through one or more variables. Supports within-subject mediation analysis using the 'lavaan' package by Rosseel (2012) <doi:10.18637/jss.v048.i02>, and extends Monte Carlo confidence interval estimation to missing data scenarios using the 'semmcci' package by Pesigan and Cheung (2023) <doi:10.3758/s13428-023-02114-4>.
| Version: | 1.0.2 |
| Depends: | R (≥ 4.1.0) |
| Imports: | knitr,lavaan,semmcci,mice,semboottools,MASS,rlang,dplyr,ggplot2, methods, stats |
| Suggests: | rmarkdown,devtools,testthat |
| Published: | 2025-12-11 |
| DOI: | 10.32614/CRAN.package.wsMed |
| Author: | Wendie Yang |
| Maintainer: | Wendie Yang <1581075494q at gmail.com> |
| BugReports: | https://github.com/Yangzhen1999/wsMed/issues |
| License: | GPL (≥ 3) |
| URL: | https://yangzhen1999.github.io/wsMed/ |
| NeedsCompilation: | no |
| Materials: | README,NEWS |
| CRAN checks: | wsMed results |
| Reference manual: | wsMed.html ,wsMed.pdf |
| Vignettes: | GenerateModelCN (source) GenerateModelCP (source) GenerateModelP (source) GenerateModelPC (source) MEMORE_vs_wsMed (source) wsMed (source) Demonstration of printGM() (source) |
| Package source: | wsMed_1.0.2.tar.gz |
| Windows binaries: | r-devel:wsMed_1.0.2.zip, r-release:wsMed_1.0.2.zip, r-oldrel:not available |
| macOS binaries: | r-release (arm64):wsMed_1.0.2.tgz, r-oldrel (arm64):wsMed_1.0.2.tgz, r-release (x86_64):wsMed_1.0.2.tgz, r-oldrel (x86_64):wsMed_1.0.2.tgz |
Please use the canonical formhttps://CRAN.R-project.org/package=wsMedto link to this page.