Clean_conectD: Clean_conectD

Description Usage Arguments Details Value Examples

View source: R/Clean_conectD.R

Description

Evaluate difference between peaking and off-peaking discharge

Usage

1
Clean_conectD(df, alpha3 = 0.7, alpha4 = 0.5)

Arguments

df

Dataframe to be processed

alpha3

Default value: 0.7

alpha4

Default value: 0.5

Details

Evaluate whether the difference in discharge between peaking and off-peaking points is qualified to be identified as hydropeaking events.

Value

The output will be a dataframe in the same form with the input.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
## Not run: 
# before running the function
HPK_SampleData$dateTime <- parse_date_time(HPK_SampleData$dateTime,"mdy HM")

hpk_flow_cln <- HEDA_Tidy(HPK_SampleData, season = c(6,7,8,9))

hpk_flow_cg <- ReversalCount(hpk_flow_cln)
hpk_flow_cg <- Clean_position(hpk_flow_cg)
hpk_flow_cg <- Clean_Spt(hpk_flow_cg)

# clean the unqualified peaking and off-peaking discharge
hpk_flow_cg <- Clean_conectD(hpk_flow_cg)

# or change the default values
hpk_flow_cg <- Clean_conectD(hpk_flow_cg, alpha3 = 0.7, alpha4 = 0.5)

## End(Not run)

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

Related to Clean_conectD in HEDA...