quadratic fit to gas concentration over time
Source:R/flux_fitting_quadratic.R
flux_fitting_quadratic.Rd
fits a quadratic model to the gas concentration over time
Usage
flux_fitting_quadratic(
conc_df,
conc_col,
datetime_col,
f_start,
f_end,
f_fluxid,
start_cut,
end_cut,
t_zero
)
Arguments
- conc_df
dataframe of gas concentration over time
- conc_col
column with gas concentration
- datetime_col
column with datetime of each concentration measurement Note that if there are duplicated datetime in the same f_fluxid only the first row will be kept
- f_start
column with datetime when the measurement started
- f_end
column with datetime when the measurement ended
- f_fluxid
column with ID of each flux
- start_cut
time to discard at the start of the measurements (in seconds)
- end_cut
time to discard at the end of the measurements (in seconds)
- t_zero
time at which the slope should be calculated