Create parameter object using default values.
create_default_par_list(
models = NULL,
mean_fun = NULL,
mean_class = NULL,
err_dist = NULL,
err_class = NULL,
binomial_n = NA,
method = "paired"
)
Models defined by set_models() object.
Mean function.
String that indicates the class of mean functions to list.
Error distribution.
String that indicates the class of error distributions to list.
Value of binomial n parameter for binomial models.
How mean function and error distributions should be combined; "paired" or "crossed".
List of parameter simulation objects.
## Create default parameters from set_models() object
Models <- set_models (mean_fun=c("gaussian", "beta", "sech", "modskurt"),
err_dist=c("poisson","zip"), method="crossed")
Pars <- create_default_par_list (Models)
## Create parameter object by pairing mean function and error distribution
Pars <- create_default_par_list (method="paired",
mean_fun=c("gaussian", "beta"),
err_dist=c("zip", "zinb"))
## Create parameter object by crossing mean function and error distribution
Pars <- create_default_par_list (method="crossed",
mean_fun=c("gaussian", "beta"),
err_dist=c("poisson", "zip", "zinb"))