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