parse_prior_file: Parse the prior yaml file and check it

Description Usage Arguments Details Value Examples

View source: R/utils.R

Description

Reads in the yaml file containing the prior, checking for the proper number and names of priors.

Usage

1
parse_prior_file(prior_file)

Arguments

prior_file

Filepath to the prior file.

Details

Used internally, in prep_prior_list and prep_init_list.

Value

A named list containing the specifed priors.

Examples

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

## End(Not run)

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