HW_episode: The begining and ending position of HW con3 episode

Description Usage Value Examples

View source: R/RcppExports.R

Description

The begining and ending position of HW con3 episode

Usage

1
HW_episode(y, ibegin, iend, TRS_high, mink = 3L)

Value

i_end, the ending index of rollmean(y) >= TRS_low

Examples

1
2
y = c(20, 24, 25, 27, 20, 19, 16, 15)
HW_episode(y, seq_along(y), 24, 20)

CUG-hydro/heatwave documentation built on Dec. 17, 2021, 1:53 p.m.