plot.PPH {BayesCombo}  R Documentation 
Plot of prior, likelihood, and posterior distributions
Description
Plots the prior, likelihood, and posterior distribution from a single study.
Usage
## S3 method for class 'PPH'
plot(x, range = NULL, n = 200, leg.loc = "topleft",
xlab = "Effect size", ylab = "", ...)
Arguments
x 
A 
range 
A numeric vector of length two that sets the range of the
xaxis. Values are passed to 
n 
An integer that specifies the number of xvalues to use when plotting the distributions. 
leg.loc 
Location of the legend; default is top left. See the

xlab , ylab 
Text for the x and y axes labels. 
... 
Other options passed to 
Details
Plots the prior, likelihood (data), and posterior distribution
calculated from the pph()
function for a single study.
Value
Plot of distributions.
See Also
Examples
x < pph(beta = 5.005, se.beta = 2.05)
plot(x)
[Package BayesCombo version 1.0 Index]