array3Dto2Dmat.stations: Conversion of a 3D array to a 2D matrix for station data

View source: R/helpers.R

array3Dto2Dmat.stationsR Documentation

Conversion of a 3D array to a 2D matrix for station data

Description

Converts 3D arrays of the form [lon,lat,time] -not strictly in this order-, to 2D matrices of the form [time, grid-point], in this order. Mainly for PCA analysis.

Usage

array3Dto2Dmat.stations(array3D)

Arguments

array3D

A 3-dimensional array with longitude, latitude and time dimensions

Value

A 2-dimensional matrix with time in rows and grid-points in columns.

Author(s)

M. Iturbide

See Also

mat2Dto3Darray, which performs the inverse operation

Other internal.helpers: array3Dto2Dmat(), bindGrid.member(), bindGrid.spatial(), bindGrid.time(), grid3Dto2Dmatrix(), mat2Dto3Darray.stations(), redim(), sortDim.spatial(), sortDim.time()


SantanderMetGroup/transformeR documentation built on Oct. 28, 2023, 5:26 a.m.