u_to_simpar: Turn uncrtnty-list into list of arguments for simpar

View source: R/to_simpar.R

u_to_simparR Documentation

Turn uncrtnty-list into list of arguments for simpar

Description

Turn uncrtnty-list into list of arguments for simpar

Usage

u_to_simpar(u, nsim, ...)

Arguments

u

an uncrtnty-list object

nsim

scalar numeric specifying the number of sets to attempt

...

additional named arguments to be passed to 'simpar::simpar()' (i.e. "digits", "min", "max").

Details

The arguments "theta", "covar", "omega", "sigma", "odf" and "sdf" are filled from the information contained in the uncrtnty-list object, unless they are explicitly specified in '...' .

Value

a list of arguments to be called in 'simpar::simpar()'.

Examples

args <- u_to_simpar(u_example, n = 10, sdf = 1000, digits = 5, max = Inf)
#remotes::install_github("metrumresearchgroup/simpar")
#do.call(simpar::simpar, args)


FelicienLL/uncrtnty documentation built on Oct. 26, 2023, 12:50 p.m.