expand_dimensions: expand the dimension values into a list

View source: R/dimensions.R

expand_dimensionsR Documentation

expand the dimension values into a list

Description

expand the dimension values into a list

Usage

expand_dimensions(x, ...)

## S3 method for class 'dimensions'
expand_dimensions(x, ..., max = FALSE, center = NA)

Arguments

x

object of class 'stars' or 'dimensions'

...

ignored

max

logical; if 'TRUE' return the max (end) values of the dimensions intervals

center

logical; if 'TRUE' return the center values of intervals, otherwise return offset (start) of intervals; if 'NA' (default) return centers for x/y dimensions, offsets for all others


stars documentation built on May 29, 2024, 8:59 a.m.