print.diagstats {diagmeta} | R Documentation |
Print method for diagstats objects
Description
Print method for objects of class diagstats
.
Usage
## S3 method for class 'diagstats'
print(
x,
sensspec = TRUE,
predicted = TRUE,
density = FALSE,
digits = 3,
digits.prop = gs("digits.prop"),
...
)
Arguments
x |
An object of class |
sensspec |
A logical indicating whether sensitivities and specificies should be printed. |
predicted |
A logical indicating whether predicted values should be printed. |
density |
A logical indicating whether values of the model-based density functions should be printed. |
digits |
Number of significant digits for printing of cutoffs. |
digits.prop |
Number of significant digits for proportions, e.g., sensitivities and specificities. |
... |
Additional arguments. |
Author(s)
Guido Schwarzer guido.schwarzer@uniklinik-freiburg.de
See Also
Examples
# FENO dataset
#
data(Schneider2017)
diag1 <- diagmeta(tpos, fpos, tneg, fneg, cutpoint,
studlab = paste(author, year, group),
data = Schneider2017,
log.cutoff = TRUE)
# Values for prevalence 10% at cutoffs 25 and 50
#
ds1 <- diagstats(diag1, c(25, 50), 0.10)
ds1
print(ds1, predicted = FALSE)
[Package diagmeta version 0.5-1 Index]