interpol function

Interpolate Concentrations

Interpolate Concentrations

Interpolates concentrations. Used by correct.xx functions to interpolate concentrations. Uses linear interpolation unless method is 2 (log down), c1 > c2, and both concentrations are non-zero.

interpol(c1 = NA, c2 = NA, t1 = NA, t2 = NA, t3 = NA, method = 1)

Arguments

  • c1: concentration 1 lagconc
  • c2: concentration 2 leadconc
  • t1: time 1 tiem where conc should be calculated
  • t2: time 2 lagtime
  • t3: time 3 leadtime
  • method: calculation method (1, 2, or 3)
  • Maintainer: Jan Huisman
  • License: GPL-3
  • Last published: 2021-08-16

Useful links