Skip to contents

Random beta distribution with specified mean and sd

Usage

rbeta_ms(n = 1, mu = 0.5, sigma = 0.025)

Arguments

n

Number of data points

mu

Mean of random beta distribution

sigma

SD of random beta distribution

Value

a vector of numeric values

Examples

rbeta_ms(n = 5, mu = 0.8, sigma = 0.1)
#> [1] 0.6669381 0.8992101 0.8348714 0.8447222 0.8106939