gamma_p {isotracer} | R Documentation |
Define a gamma prior
Description
Note the name of the function to define a prior (gamma_p
), in order
to avoid confusion with the R mathematical function gamma
.
Usage
gamma_p(alpha, beta)
Arguments
alpha |
Shape parameter (equivalent to the |
beta |
Rate parameter (equivalent to the |
Value
A list defining the prior.
Examples
gamma_p(9, 2)
hist(sample_from_prior(gamma_p(9, 2), 1e3))
[Package isotracer version 1.1.6 Index]