Description Usage Arguments Value
Underlying function for simulating maximum concentration, relative changes in concentration and relative standard deviations. Each simulation can be performed with one or a mixture of two underlying distributions.
1 2 | simulate_characteristic(n, dist1, par1, dist2 = NULL, par2 = NULL,
p = 0.5, con = NULL)
|
n |
Number of samples to draw. |
dist1 |
Distribution function for the first distribution e.g. rnorm |
par1 |
A list of parameters for the first distribution (to be passed into dist1 using do.call). |
dist2 |
Optional distribution function for the second distribution.
Note, |
par2 |
An optional list of parameters for the second distribution.
Note, |
p |
Proportion of samples to draw using |
con |
Optional vector of lower and upper constraints on generated samples. |
A vector of randomly generated values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.