View source: R/injectionrate.R
injectionrate | R Documentation |
Function to calculate Injectionrate for specific Diffusionchamber measurement
injectionrate(
datelim,
Pumpstufen,
group = "Pumpstufe",
closing_lim = 100,
opening_lim = 0,
t_max = 6,
t_init = 1,
t_min = 2,
T_C = NA,
spikes_th = 500,
difftime_th = 10,
all_spikes_NA = F,
data = NULL,
return_data = F,
colname = "CO2",
adj_openings = T,
...
)
datelim |
time intervall |
Pumpstufen |
verwendete Pumpstufen bei den unterschiedlichen Versuchen |
group |
name of the column that should be used for grouping results |
T_C |
either a numeric value for one Temperature or the name of the Temperture column as character |
return_data |
if T then the function returns a list with the flux as first element and the processed input data as second element |
colname |
name of the CO2 column in the df |
... |
#other parameters parsed to calc_flux |
split <- injectionrate(datelim = datelim,Pumpstufen = c(1:5,5,rep(NA,4),1:4,1:5),group="Pumpstufe",
closing_before = 20,
closing_after = 20,
opening_before = 0,
opening_after = 10,
t_max=6,
t_init = 1,
t_min=3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.