Generate random numbers from a beta distribution, rescaled to have user-specified population mean and standard deviation.
Arguments
- n
The number of random numbers to generate.
- shape1
shape1forstats::rbeta().- shape2
shape2forstats::rbeta().- pmean
Population mean.
- psd
Population standard deviation.
Details
First, specify the two parameters,
shape1 and shape2, and the
desired population mean and standard
deviation. The random numbers, drawn
from a beta distribution by
stats::rbeta() will then be
rescaled with the desired population
mean and standard deviation.

