Calculate latent component effects given some data and the state of the component's internal random variables.
evaluate_effect_single_state(...)evaluate_effect_multi_state(...)
# S3 method for bru_mapper
evaluate_effect_single_state(component, input, state, ..., label = NULL)
# S3 method for comp_simple_list
evaluate_effect_single_state(components, input, state, ...)
# S3 method for comp_simple_list
evaluate_effect_multi_state(components, input, state, ...)
# S3 method for component_list
evaluate_effect_single_state(components, input, state, ...)
# S3 method for component_list
evaluate_effect_multi_state(components, input, state, ...)
evaluate_effect_single_state.component_list
: A list of evaluated
component effect values
evaluate_effect_multi.comp_simple_list
: A list of lists of
evaluated component effects, one list for each state
Optional additional parameters, e.g. inla_f
. Normally unused.
A bru_mapper
, bru_component
, comp_simple
, or comp_simple_list
.
Pre-evaluated component input
Specification of one (for evaluate_effect_single_state
) or several
(for evaluate_effect_multi_State
) latent variable states:
evaluate_effect_single_state.bru_mapper
: A vector of the latent component state.
evaluate_effect_single_state.*_list
: list of named state vectors.
evaluate_effect_multi_state.*_list
: list of lists of named state vectors.
Option label used for any warning messages, specifying the affected component.
Fabian E. Bachl bachlfab@gmail.com and Finn Lindgren finn.lindgren@gmail.com