Set additional entries to the history of an object
setHistory(x, history, ...)# S4 method for ANY
setHistory(x)
# S4 method for geom
setHistory(x, history = NULL)
# S4 method for RasterLayer
setHistory(x, history = NULL)
the object for which to set the coordinate reference system.
[list(1)
] the history to set for this object.
other arguments.
The object x
where the history slot has been updated.
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
.
Other setters:
setCRS()
,
setFeatures()
,
setGroups()
,
setWindow()