agg.matrix: agg.matrix

View source: R/GWexPrec_lib.r

agg.matrixR Documentation

agg.matrix

Description

Simple accumulation of a matrix of precipitation

Usage

agg.matrix(mat, k, average = F)

Arguments

mat

matrix nDates x nStations to be aggregated

k

number of days for the accumulation

average

logical: should we average over the different periods (default=F)

Value

aggregated matrix

Author(s)

Guillaume Evin


guillaumeevin/GWEX documentation built on Feb. 9, 2024, 3:22 a.m.