Learn R Programming

inlabru (version 2.11.1)

bru_mapper_linear: Mapper for a linear effect

Description

Create a mapper for linear effects

Usage

bru_mapper_linear()

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

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

# S3 method for 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.

See Also

bru_mapper, bru_mapper_generics

Other mappers: bru_get_mapper(), bru_mapper(), bru_mapper.fm_mesh_1d(), bru_mapper.fm_mesh_2d(), bru_mapper_aggregate(), bru_mapper_collect(), bru_mapper_const(), bru_mapper_factor(), bru_mapper_generics, bru_mapper_harmonics(), bru_mapper_index(), bru_mapper_logsumexp(), bru_mapper_marginal(), bru_mapper_matrix(), bru_mapper_mesh_B(), bru_mapper_multi(), bru_mapper_pipe(), bru_mapper_scale(), bru_mapper_shift(), bru_mapper_taylor()

Examples

Run this code
m <- bru_mapper_linear()
ibm_eval(m, input = 1:4, state = 2)

Run the code above in your browser using DataLab