print.submod: Print 'submod' Objects

Description Usage Arguments Value Note Author(s) See Also

View source: R/print.submod.R

Description

This function prints objects of class "submod".

Usage

1
2
## 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

sub_model.


conting documentation built on May 1, 2019, 8:47 p.m.