Semi-Parametric Shape-Restricted Fixed/Mixed Effect(s) Regression Spline
Overview
Select the most suitable shape to describe the relationship between the exposure and the outcome among increasing, decreasing, convex, and concave shapes (Yin et al. (2021) DOI:10.1007/s13571-020-00246-7); estimate the direct and indirect effects with prior knowledge on the relationship between the mediator and the outcome with binary exposure (Yin et al. (2024) DOI:10.1007/s13571-024-00336-w); estimate the direct and indirect effects using linear regression-based approach (VanderWeele (2015, ISBN:9780199325870)).
Install
Health
- OK13 OK2026-09-08
- ERROR12 OK, 1 ERROR2026-09-07
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 31 (21 internal)
- Examples that run
- 100%5 run in a plain check
- Exported functions with examples
- 83%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
- SRMERS-intro HTML
Downloads
Dependencies
Installing SRMERS adds 26 packages (18 with compiled code, 19 MB of source tarballs). Heaviest: lme4 4.3 MB, nloptr 2.1 MB, Rcpp 1.8 MB.
Code & Tests
Datasets
People & History
- RR 4.6.0 released · 2026-04-24
- 0.1.1Latest2026-01-13 · current release
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2026-01-13
- Total releases
- 1 / 1 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 4.4.0
- Bundled data
- 41 KB / 4 files
- Download size
- 76 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("SRMERS")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.