A helper function that validates the input and extends it with default values if there are missing parts for argument 'expert'.

validate_and_process_expert(expert = NULL, priorspec = specify_priors())

Arguments

expert

list, the input values for expert.

priorspec

a priorspec object created by specify_priors

Value

A list that is the input extended by default values. If the input is invalid, an error is thrown.

See also