Compute inlabru model linearisation information
bru_compute_linearisation(...)# S3 method for component
bru_compute_linearisation(
cmp,
model,
lhood_expr,
data,
state,
A,
effects,
pred0,
allow_latent,
allow_combine,
eps,
...
)
# S3 method for bru_like
bru_compute_linearisation(lhood, model, data, state, A, eps, ...)
# S3 method for bru_like_list
bru_compute_linearisation(lhoods, model, state, A, eps = 1e-05, ...)
# S3 method for bru_model
bru_compute_linearisation(model, lhoods, state, A, ...)
Parameters passed on to other methods
A bru_component object
A bru_model
object
A predictor expression
Input data
The state information, as a list of named vectors
A-matrix information:
For bru_component
: Precomputed A-matrix for the component
For bru_like
: A list of named A-matrices for the components in the
likelihood for the component
For bru_like_list
: A list, where each element is a list of named
A-matrices.
For bru_component
:
Precomputed effect list for all components involved in the likelihood
expression
Precomputed predictor for the given state
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