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