bru_make_stack {inlabru}R Documentation

Build an inla data stack from linearisation information

Description

Combine linearisation for multiple likelihoods

Usage

bru_make_stack(...)

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

## S3 method for class 'bru_obs_list'
bru_make_stack(lhoods, lin, idx, ...)

Arguments

...

Arguments passed on to other methods

lhood

A bru_obs object

lin

Linearisation information

  • For .bru_obs, a bm_taylor object

  • For .bru_obs_list, a list of bm_taylor objects

idx

Output from bru_index.bru_model()

family_index

integer specifying the family sequence index of the observation model

lhoods

A bru_obs_list object


[Package inlabru version 2.13.0 Index]