Plots a prior density from a parameterized probability distribution

# S3 method for prior.density
plot(prior.density, base.plot = NULL,
  prior.color = "black")

Arguments

prior.density
base.plot

a ggplot object (grob), created by create.base.plot if none provided

prior.color

color of line to be plotted

Value

plot with prior density added

See also

Examples

# NOT RUN {
plot.prior.density(pr.dens('norm', 0, 1))
# }