normalize_2d {starsExtra} | R Documentation |
Normalize a 2D 'stars' object
Description
Check, and possibly correct, that the input stars
object:
Has exactly one attribute.
Has exactly two dimensions.
The dimensions are spatial, named
x
andy
(in that order).
Usage
normalize_2d(x)
Arguments
x |
A |
Value
A new stars
object
Examples
# Small example
data(dem)
normalize_2d(dem)
[Package starsExtra version 0.2.8 Index]