Package: wsMed Title: Within-Subject Mediation Analysis Using Structural Equation Modeling Version: 1.2.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.2 Suggests: rmarkdown, devtools, testthat, smcfcs (>= 1.8.0) Config/testthat/edition: 3 Imports: knitr, lavaan, semmcci, mice, semboottools, MASS, rlang, dplyr, ggplot2, methods, stats, graphics, utils VignetteBuilder: knitr LazyData: true URL: https://yangzhen1999.github.io/wsMed/ BugReports: https://github.com/Yangzhen1999/wsMed/issues NeedsCompilation: no Maintainer: Wendie Yang <1581075494q@gmail.com> Packaged: 2026-10-28 20:01:27 UTC; root Author: Wendie Yang [aut, cre] (ORCID: ), Shu Fai Cheung [aut] (ORCID: ) Repository: https://cran.r-universe.dev Date/Publication: 2026-10-28 09:52:20 UTC RemoteUrl: https://github.com/cran/wsMed RemoteRef: HEAD RemoteSha: 9645d50d8736fa000fcbab21115b22bf7174d832