Wrapper function for gamma prior Gamma(a0, b0).
gamma_prior(a0 = 0.1, b0 = 0.1, .data = NULL)
| a0 | numeric. The shape parameter in the gamma distribution
( |
|---|---|
| b0 | numeric. The scale parameter in the beta distribution
( |
| .data | NULL. Stores the gamma prior rate. Should not be edited by the user. |
A list with vector of gamma rate for the gamma prior for treatment and control group.
gamma_prior(a0 = 0.1, b0 = 0.1)#> $prior #> [1] 0.1 0.1 #>