Skip to content

resilience

2025.1.1Package record

Predictors of Resilience to a Stressor in a Single-Arm Study

0packages depend
40.7Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

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

CRAN checks
13OK
Slowest check: 55 s · r-devel-windows-x86_64
Status changes
  • 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
Advisories

none known

Documentation

In release 2025.1.1
READMENoVignettesNoNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
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

40.7K
CRAN downloads in the past year
Rank #20,200 · ~111/day · ~3.4K/mo
Daily download trend is not available in this view yet.
22430 days
66390 days
40.7K1 year
Compare downloads with other packages →
Also on89 r2u1 autocran

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)

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.

Depends (4)
R >= 4.0.0paralleldoParallelforeach
Imports (3)
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (2)
Author, Maintainer since 2023.1.0 (2023)
Contributor
Releases (6)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 2025.1.1Latest
    record
    2025-12-15 · current release · diff ↗ ·
    removed 1 export
    prepost_resilience_mi_list
    added 1 export
    prepost_mi
  • 2025.1.0
    record
    2025-12-11 · diff ↗ ·
    added 1 export
    prepost_resilience_mi_list
  • R
    R 4.5.0 released · 2025-04-11
  • 2024.1.2
    record
    2024-08-22 · diff ↗
  • 2024.1.1
    record
    2024-07-07 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 2023.1.1
    record
    2023-08-22 · diff ↗
  • 2023.1.0
    record
    2023-07-06
  • R
    R 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")
Varadhan, R., & Zhu, J. (2025). resilience: Predictors of Resilience to a Stressor in a Single-Arm Study (Version 2025.1.1) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for resilience version 2025.1.1 [Data set]. HJJB, LLC. Data release v2026-10-26. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy