st_sfc2xy: replace POINT simple feature geometry list with an x y raster

View source: R/rasterize.R

st_sfc2xyR Documentation

replace POINT simple feature geometry list with an x y raster

Description

replace POINT simple feature geometry list with an x y raster

Usage

st_sfc2xy(x, ...)

Arguments

x

object of class stars, or of class sf

...

passed on to as.data.frame.stars

Value

object of class stars with a POINT list replaced by x and y raster dimensions. This only works when the points are distributed over a regular or rectilinear grid.


stars documentation built on Sept. 11, 2023, 5:10 p.m.