validate_wrt_option: Validate With Respect To Option

View source: R/validate_wrt_option.R

validate_wrt_optionR Documentation

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'.

Value

None


grizbayr documentation built on Oct. 9, 2023, 5:10 p.m.