Learn R Programming

starsExtra (version 0.2.8)

normalize_3d: 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)

Value

A new stars object

Arguments

x

A stars object

Examples

Run this code
# Small example
data(landsat)
normalize_3d(landsat)

Run the code above in your browser using DataLab