mutators: Get or Set Parts of an Object

mutatorsR Documentation

Get or Set Parts of an Object

Description

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

Usage

get_model(x)

get_weights(x)

## S4 method for signature 'AoristicSum'
get_dates(x)

## S4 method for signature 'EventDate'
get_dates(x)

## S4 method for signature 'RateOfChange'
get_dates(x)

## S4 method for signature 'AoristicSum'
get_groups(x)

## S4 method for signature 'EventDate'
get_model(x)

## S4 method for signature 'AoristicSum'
get_weights(x)

## S4 method for signature 'CountApportion'
get_weights(x)

## S4 method for signature 'MeanDate'
get_weights(x)

Arguments

x

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

Value

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

  • get_*() returns the part of x.

Author(s)

N. Frerebeau

See Also

Other mutators: subset()


kairos documentation built on March 18, 2022, 5:21 p.m.