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

plot.pval

Plot pval Objects


Description

This function plots objects of class "pval".

Usage

## S3 method for class 'pval'
plot(x, ...)

Arguments

x

An object of class "pval".

...

Arguments to be passed to and from other methods.

Value

This function will produce a plot of T_obs against T_pred (see bayespval) along with a line through the origin with slope one. The proportion of points above the line (grey points) gives the 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.