gamma_p | R Documentation |
Note the name of the function to define a prior (gamma_p
), in order
to avoid confusion with the R mathematical function gamma
.
gamma_p(alpha, beta)
alpha |
Shape parameter (equivalent to the |
beta |
Rate parameter (equivalent to the |
A list defining the prior.
gamma_p(9, 2)
hist(sample_from_prior(gamma_p(9, 2), 1e3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.