gamma_prior | R Documentation |
Given mean and variance return a and b
gamma_prior(mean, var, a = NULL, b = NULL)
mean |
mean of a desired gamma distribution (restore a and b). |
var |
variance of a desired gamma distribution (restore a and b). |
a |
shape of a desired gamma distribution (restore mean and variance). |
b |
scale of a desired gamma distribution (restore mean and variance). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.