Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

print.submod

Print submod Objects


Description

This function prints objects of class "submod".

Usage

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

Arguments

x

An object of class "submod".

...

Arguments to be passed to and from other methods.

digits

An optional argument controlling the rounding of output.

Value

Firstly, conditional on the model of interest (defined by formula and order), this function will print out the posterior means, posterior variances and 100*prob.level% highest posterior density intervals (HPDIs) for each of the log-linear parameters. Secondly, conditional on the model of interest, it will print out summaries of the discrepancy statistics and the corresponding Bayesian p-value. Finally, if the class of the object passed to sub_model is "bict", then it will print out the posterior mean and 100*prob.level% HPDI for the total population size, conditional on the model of interest.

Note

For an example see sub_model.

Author(s)

Antony M. Overstall A.M.Overstall@soton.ac.uk.

See Also


conting

Bayesian Analysis of Contingency Tables

v1.7
GPL-2
Authors
Antony M. Overstall
Initial release
2019-04-02

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.