Skip to contents

Getters and setters to retrieve or set parts of an object.

Usage

set_dates(x) <- value

set_interface(x) <- value

set_groups(x) <- value

get_interface(x)

get_dates(x)

get_groups(x)

get_weights(x)

# S4 method for AdjacencyMatrix
get_interface(x)

# S4 method for AoristicSum
get_dates(x)

# S4 method for RateOfChange
get_dates(x)

# S4 method for AoristicSum
get_groups(x)

# S4 method for AoristicSum
get_weights(x)

# S4 method for AdjacencyMatrix
set_interface(x) <- value

Arguments

x

An object from which to get or set element(s).

value

A possible value for the element(s) of x.

Value

  • set_*() returns an object of the same sort as x with the new values assigned.

  • get_*() returns the part of x.

Author

N. Frerebeau