beta_prior {bayesCT} | R Documentation |
Beta prior for for control and treatment group
Description
Wrapper function for beta prior beta(a0, b0)
.
Usage
beta_prior(a0 = 1, b0 = 1, .data = NULL)
Arguments
a0 |
numeric. The first shape parameter in the beta distribution
( |
b0 |
numeric. The second shape parameter in the beta distribution
( |
.data |
NULL. stores the beta prior rate, please do not fill it in. |
Value
a list with vector of beta rate for the beta prior for treatment and control group.
Examples
beta_prior(a0 = 1, b0 = 1)
[Package bayesCT version 0.99.3 Index]