construct_parframe: Helper function to reproducibly construct parframes

construct_parframeR Documentation

Helper function to reproducibly construct parframes

Description

Helper function to reproducibly construct parframes

Usage

construct_parframe(pars, n = 20, seed = 12345, samplefun = rnorm, ...)

Arguments

pars

Named vector. Values don't play a role, only names

n

Integer how many lines should the parframe have

seed

Seed for the random number generator

samplefun

random number generator: rnorm, runif, etc...

...

arguments going to samplefun

Value

parframe (without metanames)

Examples

construct_parframe(c(a = 0, b = 100000), 5)
construct_parframe(c(a = 0, b = 100000), 5)

dlill/conveniencefunctions documentation built on Sept. 30, 2022, 4:40 a.m.