Description Usage Arguments Details Value
Priors for growth rates.
1 2 3 | growth.prior.uniform(max.growth)
growth.prior.gamma(mean, sd, shape = (mean/sd)^2, rate = mean/sd^2)
|
max.growth |
the maximum possible growth rate |
mean |
the mean of the Gamma prior for growth |
sd |
the standard deviation of the Gamma prior for growth |
shape |
the shape parameter of the Gamma prior for growth |
rate |
the rate parameter of the Gamma prior for growth |
These functions construct functions to evaluate the contribution
to the log prior from each segment, for use with
metropolisDate
.
The growth.prior.uniform
creates a uniform prior that
assumes growth rates are uniform up to a user specified maximum
rate.
The growth.prior.gamma
creates a Gamma prior for grwoth
rates. The user can specify the either the parameters of the
distribution as either the prior mean and standard deviation or
the prior shape and rate of the Gamma distribution.
function to evaluate the contribution to the log prior from each segment.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.