Learn R Programming

RtsEva (version 1.1.0)

max_daily_value: Max Daily Value Function

Description

This function converts a 6-hourly time series to a daily time series and calculates the maximum value for each day.

Usage

max_daily_value(timeseries)

Value

A data frame containing the daily maximum values.

Arguments

timeseries

A time series with a 6-hourly resolution.

Examples

Run this code
# Example usage:
timeseries <- ArdecheStMartin
max_daily_value(timeseries)

Run the code above in your browser using DataLab