combiner {matter}R Documentation

Get or Set combiner for an Object

Description

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

Usage

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

x <- sparse_mat(diag(10))
combiner(x)
combiner(x) <- "sum"
x[]

[Package matter version 1.6.0 Index]