days.op.threshold | R Documentation |
This function computes which days are above or below baseline thresholds. It is used to implement the compound indices. It is based on the "percent.days.op.threshold"
days.op.threshold(temp, dates, jdays, date.factor, threshold.outside.base, base.thresholds, base.range, op = "<")
temp |
Sequence of temperature values. |
dates |
Sequence of associated dates. |
jdays |
Sequence of associated days of year. |
date.factor |
Factor to aggregate data using. |
threshold.outside.base |
Sequence of thresholds to be used for data outside the base period. |
base.thresholds |
Data structure containing sets of thresholds to be used inside the base period; see climdexInput-class. |
base.range |
Date range (type PCICt) of the baseline period. |
op |
Comparison operator to use. |
max.missing.days |
Maximum number of NA values per time period. |
A vector consisting of the mean fraction of days above or below the supplied set of thresholds.
If date.factor is omitted, daily series will be returned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.