st_xy_from_cells: Given cell indices, retrieve xy coordinates for

View source: R/stars.R

st_xy_from_cellsR Documentation

Given cell indices, retrieve xy coordinates for

Description

Given cell indices, retrieve xy coordinates for

Usage

st_xy_from_cells(
  x = toy_single(),
  cells = c(60L, 89L, 38L, 16L, 22L, 24L, 83L, 71L, 88L, 20L),
  where = c("start", "center", "end")[2]
)

Arguments

x

stars object

cells

numeric 1-d address (indices) of pixels of interest

where

character, see st_get_dimension_values

Value

sf object


BigelowLab/twinkle documentation built on Jan. 26, 2025, 6:34 a.m.