powered by
generate random samples from a beta distribution, parameterized as mean and sd, and returning NAs if conditions are not met
rbeta_dmp(n, p, sd)
a vector of samples values from the beta distribution
An integer value. The number of samples to generate
A decimal value. The value used to calculate parameters for the beta distribution
A decimal value. The standard deviation of the beta distribution to simulate
rbeta_dmp(n=100,p=0.9,sd=0.01)
Run the code above in your browser using DataLab