Description Usage Arguments Value Examples
a function to generate random samples from the Beta distribution by the acceptance-rejection method
| 1 | betasample(n, a, b)
 | 
| n | number of observations | 
| a, b | non-negative parameter of the Beta distribution | 
the random samples of size n
| 1 2 3 4 5 | ## Not run: 
sample=betasample(1000,3,2)
plot(sample)
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.