Usage
getMeanPreci(inputTS, method = NULL, yearIndex = NULL, monthIndex = NULL,
fullResults = FALSE, omitNA = TRUE, plot = FALSE, ...)
Arguments
inputTS
A time series with only data column (1 column).
method
A string showing the method used to calculate mean value, e.g., "annual".
more information please refer to details.
yearIndex
A NUMERIC ARRAY showing the year index of the time series.
monthIndex
A NUMERIC ARRAY showing the month index of the time series.
fullResults
A boolean showing whether the full results are shown, default is FALSE. If
FALSE, only mean value will be returned, if TRUE, the sequence of values will be returned.
omitNA
A boolean showing in the calculation, whether NA is omitted, default is FALSE.
plot
A boolean showing whether the results will be plotted.
...,
title, x, y showing the title and x and y axis of the plot, shoud be a string.