powered by
Wrapper function for beta prior beta(a0, b0).
beta(a0, b0)
beta_prior(a0 = 1, b0 = 1, .data = NULL)
numeric. The first shape parameter in the beta distribution (beta(a0, b0)).
numeric. The second shape parameter in the beta distribution (beta(a0, b0)).
NULL. stores the beta prior rate, please do not fill it in.
a list with vector of beta rate for the beta prior for treatment and control group.
# NOT RUN { beta_prior(a0 = 1, b0 = 1) # }
Run the code above in your browser using DataLab