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, ...)

Arguments

x

An object of class diagmeta.

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.

...

Additional arguments.

Author(s)

Guido Schwarzer sc@imbi.uni-freiburg.de

See Also

diagstats diagmeta

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.4-1 Index]