bm_linear: Mapper for a linear effect

View source: R/mappers.R

bm_linearR Documentation

Mapper for a linear effect

Description

Create a mapper for linear effects

Usage

bm_linear()

bru_mapper_linear()

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

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

## S3 method for class 'bm_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: bm_aggregate(), bm_collect(), bm_const(), bm_factor(), bm_fmesher(), bm_harmonics(), bm_index(), bm_logsumexp(), bm_marginal(), bm_matrix(), bm_mesh_B(), bm_multi(), bm_pipe(), bm_repeat(), bm_scale(), bm_shift(), bm_sum(), bm_taylor(), bru_get_mapper(), bru_mapper(), bru_mapper.fm_mesh_1d(), bru_mapper.fm_mesh_2d(), bru_mapper_generics

Examples

m <- bm_linear()
ibm_eval(m, input = 1:4, state = 2)


inlabru-org/inlabru documentation built on July 17, 2025, 2:11 a.m.