retrieve coordinates for raster or vector cube cells
# S3 method for stars
st_coordinates(x, ..., add_max = FALSE, center = TRUE)# S3 method for stars
as.data.frame(x, ..., add_max = FALSE, center = NA)
as_tibble.stars(.x, ..., add_max = FALSE, center = NA)
object of class stars
ignored
logical; if TRUE
, dimensions are given with a min (x) and max (x_max) value
logical; (only if add_max
is FALSE): should grid cell center coordinates be returned (TRUE) or offset values (FALSE)? center
can be a named logical vector or list to specify values for each dimension.
object to be converted to a tibble