Description Usage Arguments Value Author(s) Examples
Generate samples from the exponential prior
1 | ExponentialPrior(u, rate)
|
u |
Input scalar/vector of values between 0 and 1 |
rate |
The rate paramter (such that the mean of the distribution is 1 / rate) |
Samples from the Exponential prior
Lydia Rickett, Matthew Hartley, Richard Morris and Nick Pullen
1 2 | samples <- ExponentialPrior(runif(100), 5)
summary(samples)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.