Package: wsMed Title: Within-Subject Mediation Analysis Using Structural Equation Modeling Version: 1.1.0 Authors@R: c(person(given = "Wendie", family ="Yang", role = c("aut", "cre"), email = "1581075494q@gmail.com", comment = c(ORCID = "0009-0000-8388-6481")), person(given = "Shu Fai", family = "Cheung", role = c("aut"), email = "shufai.cheung@gmail.com", comment = c(ORCID = "0000-0002-9871-9448"))) Description: 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) , and extends Monte Carlo confidence interval estimation to missing data scenarios using the 'semmcci' package by Pesigan and Cheung (2023) . License: GPL (>= 3) Depends: R (>= 4.1.0) Encoding: UTF-8 RoxygenNote: 7.3.3 Suggests: rmarkdown, devtools, testthat Config/testthat/edition: 3 Imports: knitr, lavaan, semmcci, mice, semboottools, MASS, rlang, dplyr, ggplot2, methods, stats VignetteBuilder: knitr LazyData: true URL: https://yangzhen1999.github.io/wsMed/ BugReports: https://github.com/Yangzhen1999/wsMed/issues NeedsCompilation: no Author: Wendie Yang [aut, cre] (ORCID: ), Shu Fai Cheung [aut] (ORCID: ) Maintainer: Wendie Yang <1581075494q@gmail.com> Config/pak/sysreqs: cmake make libicu-dev libssl-dev libx11-dev zlib1g-dev Repository: https://yangzhen1999.r-universe.dev Date/Publication: 2026-09-18 03:14:31 UTC RemoteUrl: https://github.com/yangzhen1999/wsmed RemoteRef: HEAD RemoteSha: 2cec48839af9b393704cb0fcab40cc9e8e9f9a71 Packaged: 2026-09-18 07:53:07 UTC; root