screen_within_block: Remove multiple exceedances within non-overlapping blocks of...

View source: R/auxil.R

screen_within_blockR Documentation

Remove multiple exceedances within non-overlapping blocks of fixed length

Description

Remove multiple exceedances within non-overlapping blocks of fixed lengths, for use in declustering

Usage

screen_within_block(y, index, blockLength = 10)

Arguments

y

vector of values

index

vector of indices, one per value, that indicate which elements of y are consecutive

blockLength

length of block within which to remove all but the most extreme value


climextRemes documentation built on Aug. 7, 2022, 1:06 a.m.