Skip to contents

Format population-level priors for use in stan

Usage

epict_population_priors_as_list(priors)

Arguments

priors

A data.table of population-level priors as produced by epict_priors().

Value

A list of named priors with the mean and standard deivation for each.

Author

Sam Abbott

Examples

priors <- epict_priors()
epict_population_priors_as_list(priors)
#> $t_inf_p
#> [1] 5 5
#> 
#> $c_thres_p
#> [1] 10 10
#> 
#> $c_p_p
#> [1] 0 1
#> 
#> $t_p_p
#> [1] 1.61 0.50
#> 
#> $c_s_p
#> [1] 0 1
#> 
#> $t_s_p
#> [1] 1.61 0.50
#> 
#> $t_clear_p
#> [1] 2.3 0.5
#> 
#> $inc_mean_p
#> [1] 1.62 0.06
#> 
#> $inc_sd_p
#> [1] 0.42 0.07
#> 
#> $sigma_p
#> [1] 2 2
#> 
#> $lkj_p
#> [1] 1
#>