shape_stars: Assemble a vector of stars dimension or shape

View source: R/stars.R

shape_starsR Documentation

Assemble a vector of stars dimension or shape

Description

Assemble a vector of stars dimension or shape

Usage

shape_stars(x)

Arguments

x

stars object

Value

numeric vector of

  • ncol the number of columns

  • nrow the number of rows

  • ncell the number of cells (pixels) in each band (ncol * nrow)

  • nband the number of bands

  • nindex the number of indices (ncell*nband)

  • natt the number of attributes

Examples

## Not run: 
v <- volcano_multi(what = 'bands')
shape_stars(v)
v2 <- bind_attrs(v, v)
shape_stars(v2)

## End(Not run)

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