| gg.sf {inlabru} | R Documentation |
Geom helper for sf objects
Description
This function uses geom_sf(), unless overridden by the geom argument.
Requires the ggplot2 package.
Usage
## S3 method for class 'sf'
gg(data, mapping = NULL, ..., geom = "sf")
Arguments
data |
An |
mapping |
Default mapping is |
... |
Arguments passed on to |
geom |
Either "sf" (default) or "tile". For "tile", uses
|
Value
A ggplot return value
See Also
Other geomes for spatial data:
gg(),
gg.SpatRaster(),
gg.SpatialGridDataFrame(),
gg.SpatialLines(),
gg.SpatialPixels(),
gg.SpatialPixelsDataFrame(),
gg.SpatialPoints(),
gg.SpatialPolygons(),
gm()