Description Usage Arguments Value Author(s)
Calculate the density of a distribution for use in plotting
1 2 | prior.density(distribution = "norm", a = 0, b = 1,
xlim = NA)
|
distribution |
one of R's supported distributions (character) |
a |
first parameter of distribution (numeric) |
b |
second parameter of distribution (numeric) |
data frame with values of x, the density at each x and the probability at each x
David LeBauer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.