update_gamma | R Documentation |
Updates Gamma Distribution with the Gamma-Exponential
conjugate prior update rule. Parameterized by k
and \theta
(not \alpha, \beta
)
update_gamma(k, theta, priors = list(), alternate_priors = FALSE)
k |
Double value for |
theta |
Double value for |
priors |
An optional list object that contains k0 and
theta0. Otherwise the function will use |
alternate_priors |
Boolean Defaults to FALSE. Allows a user to specify alternate prior names so the same prior isn't required when multiple gamma distributions are used. |
A list object that contains 'k' and 'theta'
update_gamma(k = 1, theta = 100, priors = list(k0 = 2, theta0 = 1000))
update_gamma(k = 10, theta = 200)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.