validate_wrt_option: Validate With Respect To Option
Description
Verify that the option provided is in the poster_samples dataframe `option_name` column.
Raises error if not TRUE
Usage
validate_wrt_option(wrt_option, posterior_samples)
Arguments
- wrt_option
string name of the option
- posterior_samples
Tibble returned from sample_from_posterior with 3 columns
`option_name`, `samples`, and `sample_id`.