View source: R/fun_calc_delta_conc.R
calc_delta | R Documentation |
Calculates concentration changes between sealing and after incubation when a reference sample is given as start concentration.
calc_delta(dt, startconc = NA)
dt |
(data.table) |
startconc |
(character) character vector of sample_id's that act as pre- incubation start concentration for all samples |
out (data.table) A data.table with the following
columns: sample_id,
gas,
sealtime,
mmtime (mean measurement time, the mean time of measurements of a sample),
incubation_time (time between sealing and mmtime expressed in days),
startconc (concentration or reference sample during measurement),
mmconc (mean concentration during measurement),
d_conc (difference in concentration between sample measurement and reference),
d_rate (rate of concentration change in concentration/day)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.