View source: R/print.diagstats.R
print.diagstats | R Documentation |
Print method for objects of class diagstats
.
## S3 method for class 'diagstats'
print(
x,
sensspec = TRUE,
predicted = TRUE,
density = FALSE,
digits = 3,
digits.prop = gs("digits.prop"),
...
)
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. |
Guido Schwarzer guido.schwarzer@uniklinik-freiburg.de
diagstats
diagmeta
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.