st_xy2sfc | R Documentation |
replace x y raster dimensions with simple feature geometry list (points, or polygons = rasterize)
st_xy2sfc(x, as_points, ..., na.rm = TRUE)
x |
object of class |
as_points |
logical; if |
... |
arguments passed on to |
na.rm |
logical; omit (remove) cells which are entirely missing valued (across other dimensions)? |
object of class stars
with x and y raster dimensions replaced by a single sfc geometry list column containing either points, or polygons. Adjacent cells with identical values are not merged; see st_rasterize
for this.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.