Skip to contents

Compute montly means, interannual monthly means and quantile of interannual monthly means.

Compute also the mean of monthly cumulated data for precipitations and ETP

Usage

calcMonthlyInterannualMean(x, threshold = 0.8)

calcMonthlyMean(x, threshold = 0.8)

calcMonthlyMeanQuantile(x, prob, threshold = 0.8)

calcMonthlyInterannualSum(x)

Arguments

x

a data.frame with a first column containing dates in POSIXt format and one numeric column per gauging station

threshold

numeric minimum ratio of available data in a year or a month to take it into account

prob

numeric, non-exceedance probability

Value

matrix with one row by station and one column by month