st_subdivide | R Documentation |
Return a collection of geometries resulting by subdividing a geometry
st_subdivide(x, max_vertices)
x |
object with geometries to be subdivided |
max_vertices |
integer; maximum size of the subgeometries (at least 8) |
object of the same class as x
library(sf)
demo(nc, ask = FALSE, echo = FALSE)
x = st_subdivide(nc, 10)
plot(x[1])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.