Description Usage Arguments Value See Also Examples
Make a flat prior for maximum likelihood estimation
1 |
... |
Currently not used |
A prior
object, which is a list of two functions:
log_d |
A function for calculating the log of the prior density for each element of a vector. With a uniform prior, the log-density is always zero. |
log_grad |
A function for calculating the gradient of the log-density for each element of a vector. For the uniform prior, this is always 0. With a uniform prior, this gradient is always zero. |
1 2 3 | p = make_flat_prior()
curve(p$log_d(x), from = -5, to = 5)
curve(p$log_grad(x), from = -5, to = 5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.