get dimensions from stars object
st_dimensions(.x, ...)# S3 method for stars
st_dimensions(.x, ...)
# S3 method for array
st_dimensions(.x, ...)
# S3 method for default
st_dimensions(.x, ..., geotransform = rep(NA_real_, 6))
st_set_dimensions(.x, which, values)
object to retrieve dimensions information from
further arguments
(if not missing): geotransform for x and y dimensions
integer which dimension to change
values for this dimension (e.g. sfc
list-column)
the dimensions
attribute of x
, of class dimensions