Skip to contents

Implementations must return a character vector of sub-mapper names, or NULL. Intended for providing information about multi-mappers and mapper collections.

Usage

ibm_names(mapper)

ibm_names(mapper) <- value

# Default S3 method
ibm_names(mapper, ...)

# S3 method for class 'bm_multi'
ibm_names(mapper)

# S3 method for class 'bm_multi'
ibm_names(mapper) <- value

# S3 method for class 'bru_mapper_multi'
ibm_names(mapper) <- value

# S3 method for class 'bm_collect'
ibm_names(mapper)

# S3 method for class 'bm_collect'
ibm_names(mapper) <- value

# S3 method for class 'bru_mapper_collect'
ibm_names(mapper) <- value

# S3 method for class 'bm_sum'
ibm_names(mapper)

# S3 method for class 'bm_sum'
ibm_names(mapper) <- value

# S3 method for class 'bru_mapper_sum'
ibm_names(mapper) <- value

Arguments

mapper

A mapper S3 object, inheriting from bru_mapper.

value

a character vector of up to the same length as the number of mappers in the multi-mapper x

...

Arguments passed on to other methods

Methods (by class)

  • ibm_names(default): Returns NULL

  • ibm_names(bm_multi): Returns the names from the sub-mappers list

  • ibm_names(bm_collect): Returns the names from the sub-mappers list

  • ibm_names(bm_sum): Returns the names from the sub-mappers list

Functions

  • ibm_names(mapper) <- value: Set mapper names.

See also

Other mapper methods: bru_mapper_generics, ibm_eval(), ibm_eval2(), ibm_inla_subset(), ibm_invalid_output(), ibm_is_linear(), ibm_jacobian(), ibm_linear(), ibm_n(), ibm_n_output(), ibm_simplify(), ibm_values()

Other mapper methods: bru_mapper_generics, ibm_eval(), ibm_eval2(), ibm_inla_subset(), ibm_invalid_output(), ibm_is_linear(), ibm_jacobian(), ibm_linear(), ibm_n(), ibm_n_output(), ibm_simplify(), ibm_values()

Other specific bm_multi method implementations: bm_multi(), ibm_eval(), ibm_invalid_output(), ibm_is_linear(), ibm_jacobian(), ibm_linear(), ibm_n(), ibm_n_output(), ibm_values()

Other specific bm_multi method implementations: bm_multi(), ibm_eval(), ibm_invalid_output(), ibm_is_linear(), ibm_jacobian(), ibm_linear(), ibm_n(), ibm_n_output(), ibm_values()

Other specific bm_collect method implementations: bm_collect(), ibm_eval(), ibm_invalid_output(), ibm_is_linear(), ibm_jacobian(), ibm_linear(), ibm_n(), ibm_n_output(), ibm_values()

Other specific bm_collect method implementations: bm_collect(), ibm_eval(), ibm_invalid_output(), ibm_is_linear(), ibm_jacobian(), ibm_linear(), ibm_n(), ibm_n_output(), ibm_values()

Other specific bm_collect method implementations: bm_collect(), ibm_eval(), ibm_invalid_output(), ibm_is_linear(), ibm_jacobian(), ibm_linear(), ibm_n(), ibm_n_output(), ibm_values()

Other specific bm_sum method implementations: bm_sum(), ibm_eval(), ibm_invalid_output(), ibm_is_linear(), ibm_jacobian(), ibm_linear(), ibm_n(), ibm_n_output(), ibm_values()

Other specific bm_collect method implementations: bm_collect(), ibm_eval(), ibm_invalid_output(), ibm_is_linear(), ibm_jacobian(), ibm_linear(), ibm_n(), ibm_n_output(), ibm_values()

Other specific bm_collect method implementations: bm_collect(), ibm_eval(), ibm_invalid_output(), ibm_is_linear(), ibm_jacobian(), ibm_linear(), ibm_n(), ibm_n_output(), ibm_values()

Examples

# ibm_names
mapper <- bm_multi(list(A = bm_index(2), B = bm_index(2)))
ibm_names(mapper)
#> [1] "A" "B"
ibm_names(mapper) <- c("new", "names")
ibm_names(mapper)
#> [1] "new"   "names"