Skip to content

resilience

2025.1.1

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

0packages depend
40.6Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Ravi VaradhanFirst published 2023-07-066 releasesCRAN page ↗

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
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
None
Vignettes
No
README
6
Dependencies · direct
Check history
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-05-02
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-25
    11 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Downloads

40.6K
CRAN downloads in the past year
Rank #20,603 · ~111/day · ~3.4K/mo
23730 days
58490 days
40.6K1 year
Also on115 r2u12 autocran
Source & community

Repository stars, issues, and contributor activity are not tracked yet.

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)
Depends (4)
Imports (3)
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
indirect (not tracked)

Nothing depends on this yet.

Code

1,215Lines of code
2Exported functions

Line coverage

Expression

Tests / Examples

Functions

10 2 exported

Complexity

8.4 avg / 24 max

Call network

10 nodes / 5 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

People & History

People (2)
Maintainer (1)
Author, Maintainer
Contributors (1)
Contributor
Release timeline

6 releases. Pick two to compare their code metrics; R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 2025.1.1Latest
    2025-12-15 · current release
  • 2025.1.0
    2025-12-11 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 2024.1.2
    2024-08-22 · diff ↗
  • 2024.1.1
    2024-07-07 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 2023.1.1
    2023-08-22 · diff ↗
  • 2023.1.0
    2023-07-06

Package metadata

First published
2023-07-06
Total releases
6 / 3 yrs
License
GPL (>= 2) OSI
Download size
not tracked yet
Installed size
not tracked yet
With dependencies
not tracked yet