Functions cumulates the negative deviation (lower O2-Concentrations) compared to a reference site without (significant) urban pollution

yearly_negative_deviation(dataFrame, oxygen_ref, max_missing = 25)

Arguments

dataFrame

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

oxygen_ref

The course of oxygen of the reference

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 negative deviation per year