computeMonthlyMaxima {RtsEva}R Documentation

computeMonthlyMaxima

Description

computeMonthlyMaxima is a function that computes the monthly maxima of a time series.

Usage

computeMonthlyMaxima(timeAndSeries)

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.

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.

Examples

timeAndSeries <- ArdecheStMartin
computeMonthlyMaxima(timeAndSeries)

[Package RtsEva version 1.0.0 Index]