evaluate_effect_single_state | R Documentation |
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 class 'bru_mapper'
evaluate_effect_single_state(component, input, state, ..., label = NULL)
## S3 method for class 'comp_simple_list'
evaluate_effect_single_state(components, input, state, ...)
## S3 method for class 'comp_simple_list'
evaluate_effect_multi_state(components, input, state, ...)
## S3 method for class 'component_list'
evaluate_effect_single_state(components, input, state, ...)
## S3 method for class 'component_list'
evaluate_effect_multi_state(components, input, state, ...)
... |
Optional additional parameters, e.g. |
component |
A |
input |
Pre-evaluated component input |
state |
Specification of one (for
|
label |
Option label used for any warning messages, specifying the affected component. |
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
Fabian E. Bachl bachlfab@gmail.com and Finn Lindgren finn.lindgren@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.