bm_list: Methods for mapper lists

bm_listR Documentation

Methods for mapper lists

Description

bru_mapper lists can be combined into bm_list lists.

Usage

## S3 method for class 'bru_mapper'
c(...)

## S3 method for class 'bm_list'
c(...)

## S3 method for class 'bm_list'
x[i]

Arguments

...

Objects to be combined.

x

bm_list object from which to extract element(s)

i

indices specifying elements to extract

Value

A bm_list object

Methods (by generic)

  • c(bm_list): The ... arguments should be bm_list objects.

  • [: Extract sub-list

Functions

  • c(bru_mapper): The ... arguments should be bru_mapper objects.

Examples

m <- c(A = bru_mapper_const(), B = bru_mapper_scale())
str(m)
str(m[2])

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