Compute inlabru model linearisation information
bru_compute_linearisation(...)# S3 method for component
bru_compute_linearisation(
cmp,
model,
lhood_expr,
data,
input,
state,
comp_simple,
effects,
pred0,
used,
allow_latent,
allow_combine,
eps,
...
)
# S3 method for bru_like
bru_compute_linearisation(
lhood,
model,
data,
input,
state,
comp_simple,
eps,
...
)
# S3 method for bru_like_list
bru_compute_linearisation(
lhoods,
model,
input,
state,
comp_simple,
eps = 0.00001,
...
)
# S3 method for bru_model
bru_compute_linearisation(model, lhoods, input, state, comp_simple, ...)
Parameters passed on to other methods
A bru_component object
A bru_model
object
A predictor expression
Input data
Precomputed component inputs from evaluate_inputs()
The state information, as a list of named vectors
Component evaluation information
For bru_component
: bru_mapper_taylor
object
For bru_like
: A comp_simple_list
object
for the components in the likelihood
For bru_like_list
: A comp_simple_list_list
object
For bru_component
:
Precomputed effect list for all components involved in the likelihood
expression
Precomputed predictor for the given state
A bru_used()
object for the predictor expression
logical. If TRUE
, the latent state of each component is
directly available to the predictor expression, with a _latent
suffix.
logical; If TRUE
, the predictor expression may
involve several rows of the input data to influence the same row.
The finite difference step size
A bru_like
object
A bru_like_list
object