dot-findRainFallPosition: findRainFallPosition

.findRainFallPositionR Documentation

findRainFallPosition

Description

This function return indices of a specific selection.

Usage

.findRainFallPosition(
  x,
  dates,
  rainThresh,
  rainOffLength,
  op.rainThresh,
  op.rainOffLength,
  index.month.warm.season
)

Arguments

x

vector containing precipitation

dates

vector containing months of dates. The length of dates must be similar to the length of x

rainThresh

list containing indices of rain events

rainOffLength

modus of calculation of rain metrics. "sub" of sub-rainfall events or "main" for critical rainfall event

op.rainThresh

operator for rain-threshold: x OP rainThresh

op.rainOffLength

operator for rainOff-threshold: lengths of event OP rainOffLength-Threshold

index.month.warm.season

index of month belonging to warm season

Value

vector containing indices of x corresponding to specific selection.


raff-k/RainSlide documentation built on July 19, 2023, 6:26 a.m.