| update_secondary_args {EpiNow2} | R Documentation | 
Update estimate_secondary default priors
Description
This functions allows the user to more easily specify data driven or model
based priors for 
estimate_secondary() from example from previous model
fits using a <data.frame> to overwrite other default settings. Note that
default settings are still required.
Usage
update_secondary_args(data, priors, verbose = TRUE)
Arguments
| data | A list of data and arguments as returned by  | 
| priors | A  | 
| verbose | Logical, defaults to  | 
Value
A list as produced by create_stan_data().
Examples
priors <- data.frame(variable = "frac_obs", mean = 3, sd = 1)
data <- list(obs_scale_mean = 4, obs_scale_sd = 3)
update_secondary_args(data, priors)