add.prior.density: Add Prior Density

Description Usage Arguments Value See Also Examples

View source: R/plots.R

Description

Plots a prior density from a parameterized probability distribution

Usage

1
2
  add.prior.density(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

pr.dens

Examples

1
add.prior.density(c('norm', 0, 1))

dlebauer/pecan-priors documentation built on Sept. 26, 2019, 5:03 a.m.