mafr {hydropeak}R Documentation

MAFR - Maximum Flow Fluctuation Rate (Metric 2)

Description

The maximum flow fluctuation rate (MAFR, unit: m3/sm^3/s) represents the highest absolute flow change of two consecutive time steps within an event. Given an event with equal flow trend, the maximum flow fluctuation rate is computed and returned.

Usage

mafr(x)

Arguments

x

Data frame (time series) from an event with equal flow trend. The data frame must contain a date-time column (Time) and a flow rate column (Q) and must be in a compatible format (see flow()).

Value

Returns a numeric value which is the maximum (absolute) flow fluctuation rate. If a data frame containing NA flow rates (Q) is given, NA is returned.

Examples

data(Q)
Q <- flow(Q[3:4, ])
mafr(Q)

[Package hydropeak version 0.1.2 Index]