Skip to contents

Create a mapper for linear effects

Usage

bru_mapper_linear()

# S3 method for class 'bru_mapper_linear'
ibm_n(mapper, ...)

# S3 method for class 'bru_mapper_linear'
ibm_values(mapper, ...)

# S3 method for class 'bru_mapper_linear'
ibm_jacobian(mapper, input, ...)

Arguments

mapper

A mapper S3 object, inheriting from bru_mapper.

...

Arguments passed on to other methods

input

Data input for the mapper.

Examples

m <- bru_mapper_linear()
ibm_eval(m, input = 1:4, state = 2)
#> [1] 2 4 6 8