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())
list, the input values for expert.
a priorspec
object created by
specify_priors
A list that is the input extended by default values. If the input is invalid, an error is thrown.