computeMonthlyMaxima is a function that computes the monthly maxima
of a time series.
Usage
computeMonthlyMaxima(timeAndSeries)
Value
A list containing the monthly maxima, corresponding dates, and indices.
monthlyMax
A vector of the monthly maximum values.
monthlyMaxDate
A vector of the dates corresponding to the monthly maximum values.
monthlyMaxIndx
A vector of the indices of the monthly maximum values in the original series.
Arguments
timeAndSeries
A data frame containing the time stamps and series values.
The first column should contain the time stamps,
and the second column should contain the series values.