getHistory: Get the history of a spatial object.

Description Usage Arguments Value See Also Examples

Description

Get the history of a spatial object.

Usage

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

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

## S4 method for signature 'geom'
getHistory(x)

## S4 method for signature 'Raster'
getHistory(x)

Arguments

x

the object from which to derive the history.

...

other arguments.

Value

A list of the events that lead to x.

See Also

Other getters: getCRS(), getCols(), getExtent(), getFeatures(), getGroups(), getLayers(), getNames(), getPoints(), getRes(), getRows(), getType(), getWindow()

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
library(tibble)
library(magrittr)

geom <- tibble(x = c(40, 70, 70, 50),
               y = c(40, 40, 60, 70)) %>%
  gs_polygon() %>%
  gt_reflect(angle = 45)
getHistory(x = geom)

getHistory(x = gtRasters)

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