Skip to contents

Format individual-level priors for use in stan

Usage

epict_individual_priors_as_list(priors)

Arguments

priors

A data.table of individual-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_individual_priors_as_list(priors)
#> $ind_var_mean
#> [1] 0 0 0 0 0
#> 
#> $ind_var_sd
#> [1] 0.05 0.05 0.05 0.05 0.05
#>