Package: fragility 1.6.1

fragility: Assessing and Visualizing Fragility of Clinical Results with Binary Outcomes

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>).

Authors:Lifeng Lin [aut, cre], Haitao Chu [aut]

fragility_1.6.1.tar.gz
fragility_1.6.1.zip(r-4.5)fragility_1.6.1.zip(r-4.4)fragility_1.6.1.zip(r-4.3)
fragility_1.6.1.tgz(r-4.5-any)fragility_1.6.1.tgz(r-4.4-any)fragility_1.6.1.tgz(r-4.3-any)
fragility_1.6.1.tar.gz(r-4.5-noble)fragility_1.6.1.tar.gz(r-4.4-noble)
fragility_1.6.1.tgz(r-4.4-emscripten)fragility_1.6.1.tgz(r-4.3-emscripten)
fragility.pdf |fragility.html
fragility/json (API)

# Install 'fragility' in R:
install.packages('fragility', repos = c('https://linlf.r-universe.dev', 'https://cloud.r-project.org'))
Datasets:
  • dat.ad - Randomized Controlled Trials of Antidepressant Drugs
  • dat.copd - Network Meta-Analysis of Chronic Obstructive Pulmonary Disease
  • dat.ns - Meta-analyses on Nutrition Support
  • dat.sc - Network Meta-Analysis of Smoking Cessation

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

1.48 score 5 scripts 284 downloads 8 exports 69 dependencies

Last updated 2 months agofrom:fdc153581b. Checks:9 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 24 2025
R-4.5-winOKMar 24 2025
R-4.5-macOKMar 24 2025
R-4.5-linuxOKMar 24 2025
R-4.4-winOKMar 24 2025
R-4.4-macOKMar 24 2025
R-4.4-linuxOKMar 24 2025
R-4.3-winOKMar 24 2025
R-4.3-macOKMar 24 2025

Exports:frag.mafrag.ma.alphafrag.masfrag.nmafrag.nma.alphafrag.studiesfrag.studyfrag.study.alpha

Dependencies:abindbitbit64bootclicliprcolorspaceCompQuadFormcpp11crayondigestdplyrfansifarvergenericsggplot2gluegtablehmsigraphisobandlabelinglatticelifecyclelme4magicmagrittrMASSmathjaxrMatrixmetametadatmetaformgcvminqamunsellmvtnormnetmetanlmenloptrnumDerivpbapplypillarpkgconfigplotrixprettyunitsprogresspurrrR6rbibutilsRColorBrewerRcppRcppEigenRdpackreadrreformulasrlangscalesstringistringrtibbletidyselecttzdbutf8vctrsviridisLitevroomwithrxml2

Readme and manuals

Help Manual

Help pageTopics
Randomized Controlled Trials of Antidepressant Drugsdat.ad
Network Meta-Analysis of Chronic Obstructive Pulmonary Diseasedat.copd
Meta-analyses on Nutrition Supportdat.ns
Network Meta-Analysis of Smoking Cessationdat.sc
Assessing the Fragility of a Meta-Analysis With a Binary Outcomefrag.ma
Assessing the Fragility of a Meta-Analysis at Different Significance Levelsfrag.ma.alpha
Assessing the Fragility of Multiple Meta-Analyses With Binary Outcomesfrag.mas
Assessing the Fragility of a Network Meta-Analysis With a Binary Outcomefrag.nma
Assessing the Fragility of a Network Meta-Analysis at Different Significance Levelsfrag.nma.alpha
Assessing the Fragility of Multiple Individual Studies With Binary Outcomesfrag.studies
Assessing the Fragility of an Individual Study With a Binary Outcomefrag.study
Assessing the Fragility of an Individual Study at Different Significance Levelsfrag.study.alpha
Plot Method for "frag.alpha" Objectsplot.frag.alpha
Plot Method for "frag.ma" Objectsplot.frag.ma
Plot Method for "frag.multi" Objectsplot.frag.multi
Plot Method for "frag.nma" Objectsplot.frag.nma
Plot Method for "frag.study.all" Objectsplot.frag.study.all
Print Method for "frag.ma" Objectsprint.frag.ma
Print Method for "frag.ma.alpha" Objectsprint.frag.ma.alpha
Print Method for "frag.mas" Objectsprint.frag.mas
Print Method for "frag.nma" Objectsprint.frag.nma
Print Method for "frag.nma.alpha" Objectsprint.frag.nma.alpha
Print Method for "frag.studies" Objectsprint.frag.studies
Print Method for "frag.study" Objectsprint.frag.study
Print Method for "frag.study.alpha" Objectsprint.frag.study.alpha