setHistory: Set additional entries to the history of an object

Description Usage Arguments Details Value See Also

Description

Set additional entries to the history of an object

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
setHistory(x, history, ...)

## S4 method for signature 'ANY'
setHistory(x)

## S4 method for signature 'geom'
setHistory(x, history = NULL)

## S4 method for signature 'RasterLayer'
setHistory(x, history = NULL)

Arguments

x

the object for which to set the coordinate reference system.

history

[list(1)]
the history to set for this object.

...

other arguments.

Details

Both, objects of class geom and Raster* have the slot @history, which contains the provenance of that object. With setHistory, that provenance can be updated, based on the modification the object has been exposed to. This happens automatically for all geometry operations that come with geometr.

Value

The object x where the history slot has been updated.

See Also

Other setters: setCRS(), setFeatures(), setGroups(), setWindow()


geometr documentation built on Sept. 21, 2021, 1:07 a.m.