Obtain the accumulation of monthly hydro-climatic variables

Share:

Description

Obtain the accumulation of monthly hydro-climatic variables

Usage

1
ACCU(X, ts = 6)

Arguments

X

The vector of monthly hydro-climatic variables of n years. ts is the accumulated time scale.

ts

The accumulated time scale

Examples

1
2
X=runif(120, min = 0, max = 100)
Y<-ACCU(X,ts=3) # Compute the 3 month  accumulated series