prep_prior_list: Prepare the list of prior values to be fed into Stan

Description Usage Arguments Value See Also Examples

View source: R/prep_prior_list.R

Description

Parses the prior specifications provided in the .yaml file, including checks that they are properly specified and currently supported. Then, converts the prior specifications into a named list to be passed to Stan.

Usage

1
prep_prior_list(prior_file)

Arguments

prior_file

Path to the .yaml file containing the prior specifications.

Value

A list containing the values for the priors to be passed to Stan.

See Also

fit_geno_cline

Examples

1
2
3
4
## Not run: 
prep_prior_list("path/to/priors.yaml")

## End(Not run)

tjthurman/BAHZ documentation built on May 30, 2020, 8:28 a.m.