appendInterpolColumns: Append Interpol Columns

Description Usage Arguments Value

View source: R/validation.R

Description

Append Interpol Columns

Usage

1
2
3
4
appendInterpolColumns(hydraulicData, settings, columnQraw = "Q.raw",
  columnQ = "Q", columnQInterpol = "Q.interpol",
  columnHraw = "H.raw", columnH = "H",
  columnHInterpol = "H.interpol")

Arguments

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

Value

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)


KWB-R/kwb.monitoring documentation built on May 17, 2019, 1:06 p.m.