Description Usage Arguments Value See Also Examples
A shortcut for creating a matrix with randomly drawn numbers from arbitrary distribution available in R.
1 |
distribution |
A distribution available in R that should generate the numbers for filling out the matrix, e.g. |
nrow |
A scalar indicating the desired number of rows. |
ncol |
A scalar indicating the desired number of columns. |
byrow |
A logical value, if TRUE (the default) the matrix is filled by rows, otherwise the matrix is filled by columns. |
... |
Additional arguments to be passed to or from methods. |
A matrix with nrow
rows and ncol
columns, filled with numbers generated from distribution
.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.