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


gregorkastner/stochvol documentation built on March 7, 2024, 8:46 p.m.