Description Usage Arguments Value
View source: R/generateRandom.R
Generate rndom sample, user will need to supply size of sample, distribution name and additional paramenter to run the disribution.
The function calls rnorm
for normal samples, rbinom
and rpois
forr poisson samples
The function create an R6 object with all the required information.
1 | generateRandom(n, dist = c("Normal", "Binomial", "Poisson"), ...)
|
n |
size of sample |
dist |
distributions that you can choose, Default: c("Normal", "Binomial", "Poisson") |
... |
additional paramenter to run disribution |
R6 distribution object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.