Description Usage Arguments Details Value Author(s) Examples
Generates an n \times 1 univariate data vector
or a list of n \times 1 univariate data vectors of length R
.
The default data generating function
is the normal distribution
X \sim \mathcal{N} ≤ft( μ, σ^2 \right) . %(\#eq:dist-X-norm)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
n |
Integer. Sample size. |
rFUN |
Function. Data generating function to generate univariate data. |
... |
Arguments to pass to |
R |
Integer.
Number of Monte Carlo replications. If |
par |
Logical.
If |
ncores |
Integer.
Number of cores to use if |
mc |
Logical.
If |
lb |
Logical.
If |
cl_eval |
Logical.
Execute |
cl_export |
Logical.
Execute |
cl_expr |
Expression.
Expression passed to |
cl_vars |
Character vector.
Names of objects to pass to |
rbind |
NULL or logical.
If |
The univariate distribution and parameters used
in the data generating process can be specified using rFUN
and ...
.
Options for explicit parallelism are provided when R > 1
especially when R
is large. See par
and suceeding arguments.
If R = NULL
or R = 1
,
returns an n \times 1 univariate data vector generated
using rFUN
and parameters passed to ...
.
If R
is an integer greater than 1, (e.g., R = 10
)
returns a list of length R
of n \times 1 univariate data vector
generated using rFUN
and parameters passed to ...
.
Ivan Jacob Agaloos Pesigan
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.