Learn R Programming

inlabru (version 2.11.1)

bru_make_stack: Build an inla data stack from linearisation information

Description

Combine linearisation for multiple likelihoods

Usage

bru_make_stack(...)

# S3 method for bru_like bru_make_stack(lhood, lin, idx, ..., family_index = 1L)

# S3 method for bru_like_list bru_make_stack(lhoods, lin, idx, ...)

Arguments

...

Arguments passed on to other methods

lhood

A bru_like object

lin

Linearisation information

  • For .bru_like, a bru_mapper_taylor object

  • For .bru_like_list, a list of bru_mapper_taylor objects

idx

Output from evaluate_index(...)

family_index

integer specifying the family sequence index of the observation model

lhoods

A bru_like_list object