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)