add_mappers {inlabru} | R Documentation |
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 class 'component'
add_mappers(component, lhoods, ...)
## S3 method for class 'component_list'
add_mappers(components, lhoods, ...)
Arguments
... |
Parameters passed on to other methods |
component |
A |
lhoods |
A |
components |
A |
Value
A component
object with completed mapper information
Examples
## Not run:
if (interactive()) {
}
## End(Not run)
[Package inlabru version 2.12.0 Index]