computeMonthlyMaxima: computeMonthlyMaxima

View source: R/eva_functions.R

computeMonthlyMaximaR 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)

RtsEva documentation built on June 24, 2024, 5:07 p.m.