index_eval: Obtain indices

View source: R/effect.R

index_evalR Documentation

Obtain indices

Description

Indexes into to the components

Usage

index_eval(...)

## S3 method for class 'component'
index_eval(component, inla_f, ...)

## S3 method for class 'component_list'
index_eval(components, inla_f, ...)

Arguments

...

Unused.

component

A component.

inla_f

logical; when TRUE, must result in values compatible with INLA::f(...) an specification and corresponding INLA::inla.stack(...) constructions.

Value

a list of indices into the latent variables compatible with the component mapper.

Author(s)

Fabian E. Bachl bachlfab@gmail.com, Finn Lindgren finn.lindgren@gmail.com


inlabru-org/inlabru documentation built on April 25, 2024, 2:43 p.m.