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


GWEX documentation built on Nov. 8, 2023, 5:06 p.m.