Learn R Programming

inlabru (version 2.11.1)

add_mappers: Add component input/latent mappers

Description

Add missing mappers between input data and latent variables, based on likelihood data

Equip component(s) with mappers for subcomponents that do not have predefined mappers. When needed, the data in lhoods is used to determine the appropriate mapper(s).

Usage

add_mappers(...)

# S3 method for component add_mappers(component, lhoods, ...)

# S3 method for component_list add_mappers(components, lhoods, ...)

Value

A component object with completed mapper information

Arguments

...

Parameters passed on to other methods

component

A component object

lhoods

A bru_like_list object

components

A component_list object

Examples

Run this code
if (FALSE) {
if (interactive()) {
}
}

Run the code above in your browser using DataLab