Skip to contents

Add Total Volume and Max Q

Usage

addTotalVolumeAndMaxQ(qValues, events, eventnr, digitsV = 3, digitsMaxQ = 3)

Arguments

qValues

vector of discharge values given in L/s

events

event information as retrieved by kwb.event::hsEvents

eventnr

integer vector of same length as qValues giving the number of the event to which the Q value belongs, as returned by kwb.event::hsEventNumber.

digitsV

number of decimal places for V in m3

digitsMaxQ

number of decimal places for max. Q in L/s

Value

events with columns V_m3 and maxQ_L_s added