Prior_mu {brr} | R Documentation |
Density, distribution function, quantile function and random generation for the prior distribution on the rate in the control group.
dprior_mu(mu, a, b, ...)
pprior_mu(q, a, b, ...)
qprior_mu(p, a, b, ...)
rprior_mu(n, a, b, ...)
sprior_mu(a, b, ...)
mu , q |
vector of quantiles |
a , b |
non-negative shape parameter and rate parameter |
... |
other arguments passed to |
p |
vector of probabilities |
n |
number of observations to be simulated |
The prior distribution on the rate \mu
is the Gamma distribution
with shape parameter a
and rate parameter b
dprior_mu
gives the density, pprior_mu
the distribution function, qprior_mu
the quantile function, and rprior_mu
samples from the distribution.
Prior_mu
is a generic name for the functions documented.
curve(dprior_mu(x, 2, 2), from=0, to=3)
sprior_mu(2, 2, output="pandoc")