as.starray {hero}R Documentation

Convert array to starray

Description

Convert a three-dimensional spatio-temporal array into an starray object. The first two dimensions are assumed to relate to gridded spatial positions.

Usage

as.starray(x)

starray(x)

as_starray(x)

Arguments

x

A three-dimensional array

Value

An starray object.

Examples

star = as.starray(tasmax)
class(star)

[Package hero version 0.6 Index]