Skip to content

fragility

1.6.1

Assessing and Visualizing Fragility of Clinical Results with Binary Outcomes

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

Overview

About
Maintained by Lifeng LinFirst published 2020-04-078 releasesCRAN page ↗

A collection of user-friendly functions for assessing and visualizing fragility of individual studies (Walsh et al., 2014 doi:10.1016/j.jclinepi.2013.10.019; Lin, 2021 doi:10.1111/jep.13428), conventional pairwise meta-analyses (Atal et al., 2019 doi:10.1016/j.jclinepi.2019.03.012), and network meta-analyses of multiple treatments with binary outcomes (Xing et al., 2020 doi:10.1016/j.jclinepi.2020.07.003). The included functions are designed to: 1) calculate the fragility index (i.e., the minimal event status modifications that can alter the significance or non-significance of the original result) and fragility quotient (i.e., fragility index divided by sample size) at a specific significance level; 2) give the cases of event status modifications for altering the result's significance or non-significance and visualize these cases; 3) visualize the trend of statistical significance as event status is modified; 4) efficiently derive fragility indexes and fragility quotients at multiple significance levels, and visualize the relationship between these fragility measures against the significance levels; and 5) calculate fragility indexes and fragility quotients of multiple datasets (e.g., a collection of clinical trials or meta-analyses) and produce plots of their overall distributions. The outputs from these functions may inform the robustness of clinical results in terms of statistical significance and aid the interpretation of fragility measures. The usage of this package is illustrated in Lin et al. (2023 doi:10.1016/j.ajog.2022.08.053) and detailed in Lin and Chu (2022 doi:10.1371/journal.pone.0268754).

Install

Health

CRAN checks
13OK
Slowest check: 3.8 min · r-oldrel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
7
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • 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-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
90%
Documented parameters
100%
Return-value docs
100%
References docs
84%

Downloads

3.2K
CRAN downloads in the past year
Rank #13,324 · ~9/day · ~265/mo
Daily download trend is not available in this view yet.
16630 days
76090 days
3.2K1 year
Compare downloads with other packages →
Also on96 r2u20 autocran

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5.0
Imports (7)
graphicsgrDevicesmetametafornetmetaplotrixstats
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Author
Package Timeline

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

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 1.6.1Latest
    2025-01-23 · current release · diff ↗
  • 1.6
    2024-11-22 · diff ↗
  • 1.5
    2024-08-18 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 1.4
    2022-08-29 · diff ↗
  • 1.3
    2022-06-16 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 1.2
    2022-04-19 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 1.1
    2020-08-12 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 1.0
    2020-04-07
  • R
    R 3.6.0 released · 2019-04-26

Package metadata

First published
2020-04-07
Total releases
8 / 6 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.5.0
Bundled data
26 KB / 4 files
Download size
82 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("fragility")
Lin, L., & Chu, H. (2025). fragility: Assessing and Visualizing Fragility of Clinical Results with Binary Outcomes (Version 1.6.1) [Computer software]. https://doi.org/10.32614/CRAN.package.fragility

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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 fragility version 1.6.1 [Data set]. HJJB, LLC. Data release v2026-08-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-22, 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