normalize_3d: Normalize a 3D 'stars' object

View source: R/st_normalize_3d.R

normalize_3dR Documentation

Normalize a 3D 'stars' object

Description

Check, and possibly correct, that the input stars object:

  • Has exactly one attribute.

  • Has exactly three dimensions.

  • The first two dimensions are spatial, named x and y (in that order).

Usage

normalize_3d(x)

Arguments

x

A stars object

Value

A new stars object

Examples

# Small example
data(landsat)
normalize_3d(landsat)

michaeldorman/starsExtra documentation built on Jan. 19, 2024, 8:54 a.m.