Draw from a beta distribution based on mean and se
Usage
rbeta_mse(n = 1, mean_v, se, seed = NULL)
Arguments
- n
Number of draws (must be >= 1)
- mean_v
A vector of the mean values
- se
A vector of the standard errors of the means
- seed
An integer which will be used to set the seed for this draw.
Value
A single estimate from the beta distribution based on given parameters
Examples
rbeta_mse(n=1,mean_v=0.8,se=0.2)
#> [1] 0.926711