print.summary.ecoNP: Print the Summary of the Results for the Bayesian...

View source: R/print.summary.ecoNP.R

print.summary.ecoNPR Documentation

Print the Summary of the Results for the Bayesian Nonparametric Model for Ecological Inference in 2x2 Tables

Description

summary method for class ecoNP.

Usage

## S3 method for class 'summary.ecoNP'
print(x, digits = max(3, getOption("digits") - 3), ...)

Arguments

x

An object of class summary.ecoNP.

digits

the number of significant digits to use when printing.

...

further arguments passed to or from other methods.

Value

summary.ecoNP yields an object of class summary.ecoNP containing the following elements:

call

The call from ecoNP.

n.obs

The number of units.

n.draws

The number of Monte Carlo samples.

agg.table

Aggregate posterior estimates of the marginal means of W_1 and W_2 using X and N as weights.

If param = TRUE, the following elements are also included:

param.table

Posterior estimates of model parameters: population mean estimates of W_1 and W_2. If subset is specified, only a subset of the population parameters are included.

If unit = TRUE, the following elements are also included:

W1.table

Unit-level posterior estimates for W_1.

W2.table

Unit-level posterior estimates for W_2.

This object can be printed by print.summary.ecoNP

See Also

ecoNP, predict.eco


eco documentation built on Nov. 4, 2022, 1:07 a.m.

Related to print.summary.ecoNP in eco...