1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
\name{plot.pval}
\alias{plot.pval}
\title{
Plot \code{pval} Objects
}
\description{
This function plots objects of class \code{"pval"}.
}
\usage{
\method{plot}{pval}(x, ...)
}
\arguments{
\item{x}{
An object of class \code{"pval"}.
}
\item{\dots}{
Arguments to be passed to and from other methods.
}
}
\value{
This function will produce a plot of \code{T_obs} against \code{T_pred} (see \code{\link{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.
}
\author{
Antony M. Overstall \email{A.M.Overstall@soton.ac.uk}.
}
\note{For an example see \code{\link{bayespval}}.}
\seealso{
\code{\link{bayespval}}
}
|