Reparametrization of base R rbeta to take location and scale rather than 2 shape parameters

rbeta_mod(n, mu, sd)

Arguments

n

number of observations

mu

location parameter

sd

scale parameter

Value

vector of draws from Beta distribution

Examples

if (FALSE) {
rbeta_mod(4, .5, .1)
}