ROCellipse | R Documentation |
Plot individual confidence regions for the estimate from each primary study on ROC space or add such regions to an existing plot.
## Default S3 method: ROCellipse(x, correction = 0.5, level = 0.95, xlim = c(0, 1), ylim = c(0, 1), method = "wilson", pch = 1, add = FALSE, corr = 0, suppress = TRUE, ellipsecol = "grey", ...)
x |
a data frame with variables including |
correction |
numeric, continuity correction applied to zero cells. |
level |
numeric, confidence level for the calculations of confidence intervals. |
xlim |
numeric of length 2, which portion of ROC space should be plotted? All reasonable values should be within (0,1). |
ylim |
numeric of length 2, which portion of ROC space should be plotted? All reasonable values should be within (0,1). |
method |
character, method used to calculate the confidence intervals for sensitivities, specificities and false positive rates. One of |
pch |
Symbol used to plot point estimates. Use |
add |
logical, should the plot be added to the current plot? |
corr |
numeric or character, the correlation assumed in the calculation of the confidence ellipsoids on logit-ROC space. If set to |
suppress |
logical, should the warnings produced by the internal call to |
ellipsecol |
The color used for plotting the ellipses. |
... |
further arguments passed on to |
The confindence regions are ellipses on logit-ROC space, hence the name of the function. The standard deviations underlying confidence intervals for the sensitivities and false positive rates are used to determine the scale of the ellipses on logit-ROC space. These ellipses get backtransformed to ROC space and plotted. As a default no correlation is assumed on logit-ROC space.
The objects of class reitsma
have their own ROCellipse
method to add a confidence region for the pooled estimate, see reitsma-class
.
Besides plotting an invisble NULL
is returned.
Philipp Doebler <philipp.doebler@googlemail.com>
crosshair
, reitsma-class
data(AuditC) ROCellipse(AuditC)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.