epict_model_opts | R Documentation |
Format formula data for use with stan
epict_model_opts(
onsets = TRUE,
switch = FALSE,
latent_infections = TRUE,
variation = "correlated"
)
onsets |
Logical, defaults to |
switch |
Logical, default to |
latent_infections |
Logical, defaults to |
variation |
A character string indicating the type of individual level variation to include. Defaults to "correlated" (a random effect with modelled correlation structure). Other options include "uncorrelated" ( a random effect with no modelled correlation structure), and "none" (for no individual level variation). |
A list as required by stan.
Sam Abbott
Functions used to design and setup models
adjustment_formula()
,
epict_formula_as_list()
,
epict_individual_priors_as_list()
,
epict_inference_opts()
,
epict_obs_as_list()
,
epict_onset_obs_as_list()
,
epict_population_priors_as_list()
,
epict_posterior_as_prior()
,
piecewise_formula()
,
select_piecewise_parameters()
# Default options
epict_model_opts()
# No variation and use the piecewise switch
epict_model_opts(switch = TRUE, variation = "none")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.