assert_priors_error_requirements: Assert that either a prior on the error component is properly...

View source: R/tulip.R

assert_priors_error_requirementsR Documentation

Assert that either a prior on the error component is properly specified, or the initial states are not provided at all such that they are automatically generated alongside a residuals_global vector, or that a suitable residuals_global vector is provided that can be used to derive the not provided prior distribution on the error component.

Description

Assert that either a prior on the error component is properly specified, or the initial states are not provided at all such that they are automatically generated alongside a residuals_global vector, or that a suitable residuals_global vector is provided that can be used to derive the not provided prior distribution on the error component.

Usage

assert_priors_error_requirements(priors, init_states, y)

timradtke/tulip documentation built on April 14, 2023, 10:21 p.m.