expand_dimensions {stars}R 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


[Package stars version 0.6-6 Index]