sig_Frequency_threshold: Frequency or Duration by specified threshold

View source: R/sig.R

sig_Frequency_thresholdR Documentation

Frequency or Duration by specified threshold

Description

Frequency or Duration by specified threshold

Usage

sig_Frequency_threshold(Data, higher = TRUE, threshold = 1, times_mean = TRUE)

sig_Duration_threshold(
  Data,
  higher = TRUE,
  threshold = 1,
  times_mean = TRUE,
  dur_type = mean
)

Arguments

Data

[xts / array]-2D(time, space) Time serious Data in difficult location.

higher

[logi] TRUE | FALSE for the value bigger or smaller than the threshold.

threshold

[num / vector] one value or a vactor of threshold, If times_mean = TRUE, it should be the times with mean value; if not it can be the concrete value in the range of \'Data\' and without times the mean value.

times_mean

[logi] TRUE | FALSE for use or not use the times with mean value.

dur_type

[function] mean | max | min for the stattistical methods for the qualifiede Durations.

Value

frequency [num]

Functions

  • sig_Duration_threshold: Frequency or Duration by specified threshold

Examples

 rslt <- sig_Frequency_threshold(xts_Q)
rslt <- sig_Frequency_threshold(xts_Q, higher = FALSE, threshold = c(0.1, 1), times_mean = FALSE)
 rslt <- sig_Duration_threshold(xts_Q)
rslt <- sig_Duration_threshold(xts_Q, higher = FALSE, threshold = c(0.1, 1),
times_mean = FALSE, dur_type = max)

LuckyKanLei/HydSig documentation built on June 30, 2022, 8:07 p.m.