Append Interpol Columns
appendInterpolColumns(hydraulicData, settings, columnQraw = "Q.raw", columnQ = "Q", columnQInterpol = "Q.interpol", columnHraw = "H.raw", columnH = "H", columnHInterpol = "H.interpol")
hydraulicData | data frame containing hydraulic data |
---|---|
settings | list of settings (not used!) |
columnQraw | name of column containing raw discharge |
columnQ | name of column containing (valid) discharge |
columnQInterpol | name of column to be added containing interpolated discharges |
columnHraw | name of column containing raw water levels |
columnH | name of column containing (valid) water levels |
columnHInterpol | name of column to be added containing interpolated water levels |
data frame with columns H.interpol, Q.interpol appended, containing only the interpolated values and NA for times when H (or Q, respectively) was already available in column H.raw (or Q.raw, respectively)