Skip to contents

Methods for the ibm_linear() and ibm_simplify() methods for bru model objects and related classes.

Usage

# S3 method for class 'bru_model'
ibm_linear(mapper, input, state = NULL, ...)

# S3 method for class 'bru_comp_list'
ibm_linear(mapper, input, state = NULL, ...)

# S3 method for class 'bru_comp'
ibm_linear(mapper, input, state = NULL, ...)

# S3 method for class 'bru_model'
ibm_simplify(mapper, input = NULL, state = NULL, ...)

# S3 method for class 'bru_comp'
ibm_simplify(mapper, input = NULL, state = NULL, ...)

# S3 method for class 'bru_comp_list'
ibm_simplify(mapper, input = NULL, state = NULL, ...)

Arguments

mapper

A mapper S3 object, inheriting from bru_mapper.

input

Data input for the mapper.

state

A vector of latent state values for the mapping, of length ibm_n(mapper, inla_f = FALSE)

...

Arguments passed on to other methods

Functions

  • ibm_linear(bru_model): Returns a list (one element per observation model) of bm_list objects, each with one bm_taylor entry for each included component.

  • ibm_simplify(bru_model): Returns a list (one element per observation model) of bm_list objects, each with one bru_mapper entry for each included component.