Description Usage Arguments Details Value Examples
A convenience function to generate ff
vectors with draws from random
distributions using functions such as runif
,
rnorm
and rlnorm
.
1 |
n |
number of observations |
rfun |
a function generating the draws from the random distribution.
This function should expect the number of draws as its first argument.
Valid examples are the routines |
... |
additional arguments are passed on to |
vmode |
the vmode of the resulting vector. See |
Before generating the vector a single draw is taken from the
distribution. This might be important if one tries to reproduce draws
directly from rfun
.
An ff
vector with draws from the distribution.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.