Checks and lists settings for the JAGS_fit function.
JAGS_check_and_list_fit_settings(
chains,
adapt,
burnin,
sample,
thin,
autofit,
parallel,
cores,
silent,
seed,
check_mins = list(chains = 1, adapt = 50, burnin = 50, sample = 100, thin = 1),
call = ""
)
JAGS_check_and_list_autofit_settings(
autofit_control,
skip_sample_extend = FALSE,
call = ""
)
number of chains to be run, defaults to 4
number of samples used for adapting the MCMC chains, defaults to 500
number of burnin iterations of the MCMC chains, defaults to 1000
number of sampling iterations of the MCMC chains, defaults to 4000
thinning interval for the MCMC samples, defaults to 1
whether the models should be refitted until convergence criteria
specified in autofit_control
. Defaults to FALSE
.
whether the chains should be run in parallel FALSE
number of cores used for multithreading if parallel = TRUE
,
defaults to chains
whether the function should proceed silently, defaults to TRUE
seed for random number generation
named list of minimal values for which should some input be checked. Defaults to:
1
50
50
100
1
string to be placed as a prefix to the error call.
a list of arguments controlling the autofit function. Possible options are:
maximum R-hat error for the autofit function.
Defaults to 1.05
.
minimum effective sample size. Defaults to 500
.
maximum MCMC error. Defaults to 1.01
.
maximum MCMC error as the proportion of standard
deviation of the parameters. Defaults to 0.05
.
list specifying the time time
and units
after which the automatic fitting function is stopped. The units arguments
need to correspond to units
passed to difftime function.
number of samples between each convergence check. Defaults to
1000
.
number of times new initial values should be generated in case the model
fails to initialize. Defaults to 10
.
whether sample_extend
is allowed to be NULL and skipped in the check
JAGS_check_and_list_fit_settings
invisibly returns a
list of checked fit settings. JAGS_check_and_list_autofit_settings
invisibly returns a list of checked autofit settings. parameter names.