Description Usage Arguments Value Examples
Rotate sf basemap.
1 | rotate(x, deg)
|
x |
an sf object. |
deg |
degree angle. |
an sf object.
1 2 3 4 | library(sf)
us <- st_read(system.file("us.gpkg", package="mapextrud"))
us2 <-rotate(us, 180)
plot(st_geometry(us2))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.