Plot the RueckerSchumacher (2010) SROC curve
Description
Assuming that a weighted Youden index is maximized in all primary studies, the RueckerSchumacher approach estimates individual ROC curves and then averages them.
Usage
1 2 3 4 5 6 
Arguments
data 
any object that can be converted to a data frame with integer variables for observed frequencies of true positives, false negatives, false positives and true negatives. The names of the variables are provided by the arguments 
TP 
character or integer: name for vector of integers that is a variable of 
FN 
character or integer: name for vector of integers that is a variable of 
FP 
character or integer: name for vector of integers that is a variable of 
TN 
character or integer: name for vector of integers that is a variable of 
subset 
the rows of 
lambda 
numeric or 
fpr 
Points between 0 and 1 on which to draw the SROC curve. Should be tightly spaced. If set to 
extrapolate 
logical, should the SROC curve be extrapolated beyond the region where false positive rates are observed? 
plotstudies 
logical, should the ROC curves for the individual studies be added to the plot? The plot will become crowded if set to 
correction 
numeric, continuity correction applied if zero cells 
correction.control 
character, if set to 
add 
logical, should the SROC curve be added to an existing plot? 
lty 
line type, see 
lwd 
line width, see 
col 
color of SROC, see 
... 
arguments to be passed on to plotting functions. 
Details
Details are found in the paper of Ruecker and Schumacher (2010).
Value
Besides plotting the SROC, an invisible
list is returned which contains the parameters of the SROC.
Author(s)
Philipp Doebler <philipp.doebler@googlemail.com> Original code kindly supplied by G. Ruecker.
References
Ruecker G., & Schumacher M. (2010) “Summary ROC curve based on a weighted Youden index for selecting an optimal cutpoint in metaanalysis of diagnostic accuracy.” Statistics in Medicine, 29, 3069–3078.
See Also
reitsmaclass
, talpha
, SummaryPts
Examples
1 2 3 4 5 6 7 8 9 10 11 12  ## First Example
data(Dementia)
ROCellipse(Dementia)
rsSROC(Dementia, add = TRUE) # Add the RSSROC to this plot
## Second Example
# Make a crowded plot and look at the coefficients
rs_Dementia < rsSROC(Dementia, col = 3, lwd = 3, lty = 3,
plotstudies = TRUE)
rs_Dementia$lambda
rs_Dementia$aa # intercepts of primary studies on logit ROC space
rs_Dementia$bb # slopes

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker. Vote for new features on Trello.