Add posterior density to a plot

plot_posterior.density(posterior.density, base.plot = NULL)

Arguments

posterior.density

data frame containing columns x and y

base.plot

a ggplot object (grob), created if none provided

Value

plot with posterior density line added

Author

David LeBauer