fixSecondary {transmem} | R Documentation |
Interpolates secondary species concentration at missing time values
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
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
[Package transmem version 0.1.1 Index]