Learn R Programming

stars (version 0.1-1)

st_dimensions: get dimensions from stars object

Description

get dimensions from stars object

Usage

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)

Arguments

.x

object to retrieve dimensions information from

...

further arguments

geotransform

(if not missing): geotransform for x and y dimensions

which

integer which dimension to change

values

values for this dimension (e.g. sfc list-column)

Value

the dimensions attribute of x, of class dimensions