msParframe {dMod} | R Documentation |
Reproducibly construct "random" parframes
Description
The output of this function can be used for the center
- argument of mstrust
Usage
msParframe(pars, n = 20, seed = 12345, samplefun = stats::rnorm, ...)
Arguments
pars |
Named vector. If |
n |
Integer how many lines should the parframe have |
seed |
Seed for the random number generator |
samplefun |
|
... |
arguments going to samplefun |
Value
parframe (without metanames)
See Also
Examples
msParframe(c(a = 0, b = 100000), 5)
# Parameter specific sigma
msParframe(c(a = 0, b = 100000), 5, samplefun = rnorm, sd = c(100, 0.5))
[Package dMod version 1.0.2 Index]