Description Usage Arguments Details Value Examples
View source: R/expandFunctions.R
Generate a pXq matrix with coefficients drawn from the univariate distribution dist with options distOpt.
1 |
p |
Number of rows |
q |
Number of columns |
dist |
distribution of coefficients to draw from; default is rnorm. |
distOpt |
Named list of additional parameters for dist. Always omit the first parameter,n, of the distribution sampling function. Defaults may be omitted if desired (see examples). |
The user may provide their own distribution function, but note that the number of values to return, n, must be the first argument, just as with the built-in distributions. The first argument does not have to be named.
A pXq matrix with coefficients distributed as dist with parameters defined in '...'
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.