Learn R Programming

stochvol (version 3.2.4)

validate_and_process_expert: 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())

Value

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

Arguments

expert

list, the input values for expert.

priorspec

a priorspec object created by specify_priors

See Also

specify_priors