rbeta_dmp {stochLAB} | R Documentation |
Customised sampling functions for the Beta distributions
Description
generate random samples from a beta distribution, parameterized as mean and sd, and returning NAs if conditions are not met
Usage
rbeta_dmp(n, p, sd)
Arguments
n |
An integer value. The number of samples to generate |
p |
A decimal value. The value used to calculate parameters for the beta distribution |
sd |
A decimal value. The standard deviation of the beta distribution to simulate |
Value
a vector of samples values from the beta distribution
Examples
rbeta_dmp(n=100,p=0.9,sd=0.01)
[Package stochLAB version 1.1.2 Index]