HPK_rt_dur: HPK_rt_dur

Description Usage Arguments Details Value Examples

View source: R/HPK_rt_dur.R

Description

Extract rate of change and duration related metrics

Usage

1

Arguments

df

Dataframe to be processed

Details

Extract rate of chane and duration related metrics: pk_rtn is the retention of peaking process. offpk_rtn is theretention of base flow. D_rampup/D_ramp is the duration of rise/fall process. RB_Indx_up/RB_Index_dw is theflashness of rise/fall process. Ramp_up/Ramp_dw is the rate of change of rise/fall process.Strange_up/Strange_dw is the standardized rise/fall amplitude

Value

Output dataframe includes time-series values of four metrics. Qpeak is the hydropeaking discharge, offQpeak isbase flow, pk_no is the daily number of rise and fall process, pkratio is the ratio of days with hydropeaking to thetotal number of days analyzed

Examples

1
2
3
4
5
6
7
## Not run: 
HpkRtDur <- HPK_rt_dur(hpk_flow_cg)

## to extract the time-series of one metric withouth missing value
pk_rtn <- HpkRtDur[na.omit(HpkRtDur$pk_rtn),c("location_id","datetime","pk_rtn")]

## End(Not run)

HEDA documentation built on July 21, 2021, 1:06 a.m.

Related to HPK_rt_dur in HEDA...