combiner-method: Get or Set combiner for an Object

Description Usage Arguments Author(s) See Also Examples

Description

This is a generic function for getting or setting the 'combiner' for an object with values to combine.

Usage

1
2
3
combiner(object)

combiner(object) <- value

Arguments

object

An object with a combiner.

value

The value to set the combiner.

Author(s)

Kylie A. Bemis

See Also

sparse_mat

Examples

1
2
3
4
x <- sparse_mat(diag(10))
combiner(x)
combiner(x) <- "sum"
x[]

matter documentation built on Nov. 8, 2020, 6:15 p.m.