validate_and_process_expert: Validate and Process Argument 'expert'

validate_and_process_expertR Documentation

Validate and Process Argument 'expert'

Description

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

Usage

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

specify_priors


stochvol documentation built on Nov. 27, 2023, 1:09 a.m.