Description Usage Arguments Details Value Examples
Clean repeated points
1 |
df |
Dataframe to be processed |
alpha3 |
Default value: 0.7 |
alpha4 |
Default value: 0.5 |
Evaluate whether the difference in discharge between peaking and off-peaking points is qualified to be identified as hydropeaking events
Output file will be a dataframe in the same form as the input
1 2 3 4 5 6 7 8 9 10 11 12 13 | # 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)
# clean continuous points of the same type
hpk_flow_cg <- Clean_Spt(hpk_flow_cg)
# or change the default values
hpk_flow_cg <- Clean_Spt(hpk_flow_cg, alpha3 = 0.7, alpha4 = 0.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.