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

print.pval

Print pval Objects


Description

This function prints objects of class "pval".

Usage

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

Arguments

x

An object of class "pval".

digits

An optional argument controlling the rounding of output.

...

Arguments to be passed to and from other methods.

Value

This function will print out summary statistics for the predictive (T_pred) and observed (T_obs) discrepancy statistics. Additionally it will output the associated Bayesian p-value.

Note

For an example see bayespval.

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.