powered by
Generate values from a beta distribution, given a mean and standard deviation of the distribution
.rbeta(n, mean, sd)
Number of values to generate
Mean of the distribution
Standard deviation of the distribution
A vector of simulated values from a distribution bounded at 0 and 1
# NOT RUN { .rbeta(n = 10, mean = .8, sd, .2) # }
Run the code above in your browser using DataLab