Learn R Programming

geometr (version 0.2.5)

gc_grob: Transform a spatial object to a grob

Description

Transform a spatial object to a grob

Usage

# S4 method for geom
gc_grob(input = NULL, theme = gtTheme, ...)

Arguments

input

the object to transform to class grob.

theme

[gtTheme(1)] the theme from which to take parameters.

...

instead of providing a modified theme, you can also determine specific graphic parameters (see gpar) separately; see setTheme for details.

Value

Depending on the provided geometry either a pointsGrob,

See Also

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