Learn R Programming

inlabru (version 2.3.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, ...)

# 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 linearisation information list with elements A and offset

  • For .bru_like_list, a list of linearisation information lists

idx

Output from evaluate_index()

lhoods

A bru_like_list object