Description Usage Arguments Value Examples
Draws random data and formats them into a matrix, where each row contains a sample. By default, the random data are drawn form a normal distribution, but the user can supply an alternative.
1 |
n |
The number of independent observations to include in each sample (i.e. each row of the output matrix). |
nsim |
The number of samples to generate (i.e. the number of rows in the output matrix). |
rx |
A function generating random data (rnorm by default). |
... |
Additional arguments to rx. |
A matrix of independent random numbers with nsim rows and n columns.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.