Load and compile the Cycle thresholds model
Usage
epict_model(
model,
include,
compile = TRUE,
threads = FALSE,
stanc_options = list("O1"),
verbose = TRUE,
...
)
Arguments
- model
A character string indicating the path to the model. If not supplied the package default model is used.
- include
A character string specifying the path to any stan files to include in the model. If missing the package default is used.
- compile
Logical, defaults to
TRUE
. Should the model be loaded and compiled usingcmdstanr::cmdstan_model()
.- threads
Logical, defaults to
FALSE
. Should the model compile with support for multi-thread support in chain. Note that this requires the use of thethreads_per_chain
argument when model fitting usingepict()
and is not currently supported in model.- stanc_options
A list of options to pass to the
stanc_options
ofcmdstanr::cmdstan_model()
. By default "01" is passed which specifies simple optimisations should be done by the prior to compilation.- verbose
Logical, defaults to
TRUE
. Should verbose messages be shown.- ...
Additional arguments passed to
cmdstanr::cmdstan_model()
.
See also
Functions used for modelling
epict_convert_to_list()
,
epict_inits()
,
epict_priors()