fixSecondary: Interpolates secondary species concentration at missing time...

Description Usage Arguments Value Author(s)

View source: R/fixSecondary.R

Description

If the secondary species concentration is determined in just a fraction of the aliquots and for some reason, the concentration in all the aliquots is required or desired, the function fits a polynomial trend line to the existing data and interpolates the concentration in missing aliquots.

Usage

1
fixSecondary(conc, time, compTime, order = 2)

Arguments

conc

Species concentration original vector.

time

Times at which given concentrations were determined.

compTime

Times at which the given species concentration must be interpolated.

order

Order of the polynomial to be fitted to data (1 or 2). Default to 2.

Value

Vector of interpolated concentrations at times provided in compTime.

Author(s)

Cristhian Paredes, craparedesca@unal.edu.co

Eduardo Rodriguez de San Miguel, erdsmg@unam.mx


transmem documentation built on July 1, 2020, 10:38 p.m.