piecewise_formula | R Documentation |
Specify the cycle threshold adjustment model formula
piecewise_formula(formula = ~1, obs, beta_default = c(0, 0.1), params = "all")
formula |
A model formula defaulting to |
obs |
A data.frame with the following variables:
|
beta_default |
A vector of length two containing the default mean and standard deviation to use as the prior for all covariate effect sizes. |
params |
A character string indicating the paramters to adjust in the piecewise model. Defaults to "all". Options are: the time at peak ("t_p"), time at switch ("t_p"), time at clearance ("t_clear"), Cycle threshold (Ct) at peak ("c_p"), Ct at switch ("c_s"), incubation period mean ("inc_mean"), and incubation period standard deviation ("inc_sd"). |
A named list including the design matrix ("design")
and a data.table
of priors for covariate effects ("beta").
Sam Abbott
Functions used to design and setup models
adjustment_formula()
,
epict_formula_as_list()
,
epict_individual_priors_as_list()
,
epict_inference_opts()
,
epict_model_opts()
,
epict_obs_as_list()
,
epict_onset_obs_as_list()
,
epict_population_priors_as_list()
,
epict_posterior_as_prior()
,
select_piecewise_parameters()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.