gg.sf | R Documentation |
This function uses geom_sf()
, unless overridden by the geom argument.
Requires the ggplot2
package.
## S3 method for class 'sf'
gg(data, mapping = NULL, ..., geom = "sf")
data |
An |
mapping |
Default mapping is |
... |
Arguments passed on to |
geom |
Either "sf" (default) or "tile". For "tile", uses
|
A ggplot return value
Other geomes for spatial data:
gg()
,
gg.SpatRaster()
,
gg.SpatialGridDataFrame()
,
gg.SpatialLines()
,
gg.SpatialPixels()
,
gg.SpatialPixelsDataFrame()
,
gg.SpatialPoints()
,
gg.SpatialPolygons()
,
gm()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.