Counting the hours on a yearly basis below threshold values

yearly_deficiency_time(
  dataFrame,
  res = 15,
  thresholds = c(0.5, 1, 1.5, 2, 5),
  max_missing = 25
)

Arguments

dataFrame

MiSa Dataframe: with columne "d": data, "year": year

res

Temporal resolution of oxygen data in minutes

thresholds

Oxygen threshold values used for the assessment in mg/L

max_missing

The maximal allowed percent of missing oxygen data. If NA Values exceed this number, hours below thresholds are set to NA

Value

Data frane with rows per year and columns per threshold as well es for missing data