Learn R Programming

geometr (version 0.2.5)

gc_sp: Transform a spatial object to class Spatial

Description

Transform a spatial object to class Spatial

Usage

# S4 method for geom
gc_sp(input = NULL)

Arguments

input

the object to transform to class Spatial.

Value

an object of class Spatial

See Also

Other spatial classes: gc_geom(), gc_grob(), gc_ppp(), gc_raster(), gc_sf()

Examples

Run this code
# NOT RUN {
gc_sp(input = gtGeoms$point)

gc_sp(input = gtGeoms$line)

gc_sp(input = gtGeoms$polygon)
# }

Run the code above in your browser using DataLab