bru_compute_linearisation | R Documentation |
Compute inlabru model linearisation information
bru_compute_linearisation(...)
## S3 method for class 'component'
bru_compute_linearisation(
cmp,
model,
lhood_expr,
data,
input,
state,
comp_simple,
effects,
pred0,
used,
allow_combine,
eps,
n_pred = NULL,
...,
options = NULL
)
## S3 method for class 'bru_like'
bru_compute_linearisation(
lhood,
model,
data,
input,
state,
comp_simple,
eps,
...
)
## S3 method for class 'bru_like_list'
bru_compute_linearisation(
lhoods,
model,
input,
state,
comp_simple,
eps = 1e-05,
...
)
## S3 method for class 'bru_model'
bru_compute_linearisation(model, lhoods, input, state, comp_simple, ...)
... |
Parameters passed on to other methods |
cmp |
A bru_component object |
model |
A |
lhood_expr |
A predictor expression |
data |
Input data |
input |
Precomputed component inputs from |
state |
The state information, as a list of named vectors |
comp_simple |
Component evaluation information
|
effects |
|
pred0 |
Precomputed predictor for the given state |
used |
A |
allow_combine |
logical; If |
eps |
The finite difference step size |
n_pred |
The length of the predictor expression. If not |
options |
A |
lhood |
A |
lhoods |
A |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.