| bm_taylor | R Documentation |
Provides a pre-computed affine mapping,
internally used to represent and evaluate linearisation information.
The state0 information indicates for which state the offset was
evaluated;
The affine mapper output is defined as
effect(state) = offset + jacobian %*% (state - state0)
bm_taylor(offset = NULL, jacobian = NULL, state0 = NULL, values_mapper = NULL)
bru_mapper_taylor(...)
offset |
For |
jacobian |
For |
state0 |
For |
values_mapper |
mapper object to be used for |
... |
Arguments passed on to |
A bm_taylor mapper object.
bru_mapper, bru_mapper_generics
Other mappers:
bm_aggregate(),
bm_collect(),
bm_const(),
bm_expr(),
bm_factor(),
bm_fm_mesh_1d,
bm_fmesher(),
bm_harmonics(),
bm_index(),
bm_linear(),
bm_logitaverage(),
bm_logsumexp(),
bm_marginal(),
bm_matrix(),
bm_multi(),
bm_pipe(),
bm_reparam(),
bm_repeat(),
bm_scale(),
bm_shift(),
bm_sum(),
bru_get_mapper(),
bru_mapper()
m <- bm_taylor(
offset = rep(2, 3),
jacobian = matrix(1:6, 3, 2),
state0 = c(1, 2)
)
ibm_eval2(m, state = 2:3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.