add_density.Rd
For example, a plot a normal density over a histogram of conditional weighted residuals.
add_density( fun = dnorm, col = pm_opts$density.col, lwd = pm_opts$density.lwd, lty = pm_opts$density.lty, ... ) layer_dnorm(x, sd = 1, mean = 0, ...)
fun | passed to |
---|---|
col | passed to |
lwd | passed to |
lty | passed to |
... | passed to |
x | a |
sd | passed to |
mean | passed to |