Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

getHistory

Get the history of a spatial object.


Description

Get the history of a spatial object.

Usage

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

Examples

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

Generate and Modify Interoperable Geometric Shapes

v0.2.10
GPL-3
Authors
Steffen Ehrmann [aut, cre] (<https://orcid.org/0000-0002-2958-0796>), Dan Sunday [cph] (fast point-in-polygon algorithm.)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.