Learn R Programming

NMADTA (version 0.1.2)

summary.nmadt: Summary method for `nmadt` objects

Description

Provides a concise summary of posterior results from network meta-analysis of diagnostic tests fitted using the NMADTA framework. Displays median estimates and 95 sensitivity, specificity, predictive values, likelihood ratios, and prevalence.

Usage

# S3 method for nmadt
summary(object, ...)

Value

The function returns the input object (invisibly) after printing the summary.

Arguments

object

An object of class nmadt, typically created by nmadt.hierarchical() or nmadt.hsroc().

...

Additional arguments (currently not used).

Details

The function extracts and prints key posterior summaries from the fitted model, including medians and 95

The output is formatted for human readability, with each section clearly labeled.

Examples

Run this code
# \donttest{
data(dat.kang)
set.seed(9)
kang.out <- nmadt.hierarchical(nstu=12, K=2, data=dat.kang, 
            testname=c("D-dimer","Ultrasonography"))
summary(kang.out) 
# }

Run the code above in your browser using DataLab