Predictors of Resilience to a Stressor in a Single-Arm Study
Overview
Studies of resilience in older adults employ a single-arm design where everyone experiences the stressor. The simplistic approach of regressing change versus baseline yields biased estimates due to regression-to-the-mean. This package provides a method to correct the bias. It also allows covariates to be included. The method implemented in the package is described in Varadhan, R., Zhu, J., and Bandeen-Roche, K (2024), Biostatistics 25(4): 1094-1111.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK13 OK2026-05-02
Show 2 earlier changesHide 2 earlier changes
- ERROR11 OK, 1 ERROR2026-04-25
- OK14 OK2026-03-10
Documentation
- Help pages
- 6
- Examples that run
- 0%2 never run
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 17%
Downloads
Dependencies
Installing resilience adds 55 packages (31 with compiled code, 40 MB of source tarballs). Heaviest: stringi 11 MB, lme4 4.3 MB, glmnet 2.7 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 2025.1.1Latest2025-12-15 · current release · diff ↗ ·
removed 1 export
prepost_resilience_mi_listadded 1 export
prepost_mi - 2025.1.0
- RR 4.5.0 released · 2025-04-11
- 2024.1.22024-08-22 · diff ↗
- 2024.1.12024-07-07 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 2023.1.12023-08-22 · diff ↗
- 2023.1.02023-07-06
- RR 4.3.0 released · 2023-04-21
Package metadata
- First published
- 2023-07-06
- Total releases
- 6 / 3 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 4.0.0
- Bundled data
- 5.4 KB / 1 file
- Download size
- 20 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("resilience")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.