plot.frag.alpha {fragility} | R Documentation |
Plot Method for "frag.alpha" Objects
Description
Visualizes the fragility at different statistical significance levels.
Usage
## S3 method for class 'frag.alpha'
plot(x, method, fragility = "FI", percentage = TRUE,
xlab, ylab, xlim, ylim, cex.pts, col.line, col.pval, col.sig,
lty.pval, lwd, lwd.pval, pch, pch.na, tid1, tid2, FQ.nma = FALSE, ...)
Arguments
x |
an object of class |
method |
a character string indicating the method used to calculate the p-value when |
fragility |
a character string of either |
percentage |
a logical value indicating whether the fragility quotient is presented in percentage ( |
xlab |
a label for the x axis. |
ylab |
a label for the y axis. |
xlim |
the x limits |
ylim |
the y limits |
cex.pts |
the size of points in the plot (the default is 0.5). |
col.line |
the color of the line segments that join the points (the default is |
col.pval |
the color of the vertical line depicting the p-value of the original data (the default is |
col.sig |
a vector of the two colors for two directions of significance change. The default includes |
lty.pval |
the type of the vertical line depicting the p-value of the original data. The default is 2 (dashed). It is only used when the p-value is between the lower and upper limits of the considered significance levels. |
lwd |
the width of the line segments that join the points (the default is 1). |
lwd.pval |
the width of the vertical line depicting the p-value of the original data. The default is 1. It is only used when the p-value is between the lower and upper limits of the considered significance levels. |
pch |
the symbol of points in the plot. The default is 16 (filled circle). |
pch.na |
the symbol of points depicting fragility index/quotient = |
tid1 |
the first treatment of the comparison of interest; if not specified, the first comparison in |
tid2 |
the second treatment of the comparison of interest. Only one comparison can be specified by |
FQ.nma |
a logical value indicating whether the fragility quotient in a network meta-analysis is the total sample size associated with the specific treatment comparison ( |
... |
other arguments that can be passed to |
Details
A scatter plot is generated, where the x axis presents the different significance levels, and the y axis presents the corresponding fragility indexes or fragility quotients.
Value
None.
References
Lin L (2021). "Factors that impact fragility index and their visualizations." Journal of Evaluation in Clinical Practice, 27(2), 356–64. <doi: 10.1111/jep.13428>
Lin L, Chu H (2022). "Assessing and visualizing fragility of clinical results with binary outcomes in R using the fragility package." PLOS ONE, 17(6), e0268754. <doi: 10.1371/journal.pone.0268754>
See Also
frag.study.alpha
, frag.ma.alpha
, and frag.nma.alpha
for assessing fragility of an individual study, a meta-analysis, and a network meta-analysis at multiple significance levels, respectively.