fits a linear model to the gas concentration over time
flux_fitting_lm(conc_df_cut, conc_df, f_conc, f_fluxid)a df with the modeled gas concentration, slope, intercept, std error, r square and p value of the linear model
dataframe of gas concentration over time, cut
dataframe of gas concentration over time
column with gas concentration
column with ID of each flux