Learn R Programming

prevalence (version 0.4.1)

print-methods: Methods for Function print in Package prevalence

Description

Print objects of class prev

Usage

# S4 method for prev
print(x, conf.level = 0.95, dig = 3, …)

Arguments

x

An object of class prev

conf.level

Confidence level to be used in credibility interval

dig

Number of decimal digits to print

Other arguments to pass to the print function

Methods

signature(x = "prev")

Print mean, median, mode, standard deviation and credibility interval of estimated true prevalence, sensitivities and specificities. In addition, print multivariate Brooks-Gelman-Rubin statistic (or univariate BGR statistic with corresponding upper confidence limit in case of a single stochastic node). BGR values substantially above 1 indicate lack of convergence. For prev objects created by truePrevMulti, the Bayes-P statistic is also printed. Bayes-P should be as close to 0.5 as possible.

See Also

prev-class gelman.diag