flux_fitting_lm: linear fit to gas concentration over time

View source: R/flux_fitting_lm.R

flux_fitting_lmR Documentation

linear fit to gas concentration over time

Description

fits a linear model to the gas concentration over time

Usage

flux_fitting_lm(conc_df_cut, conc_df, f_conc, f_fluxid, start_cut)

Arguments

conc_df_cut

dataframe of gas concentration over time, cut

conc_df

dataframe of gas concentration over time

f_conc

column with gas concentration

f_fluxid

column with ID of each flux

start_cut

time to discard at the start of the measurements (in seconds)

Value

a df with the modeled gas concentration, slope, intercept, std error, r square and p value of the linear model


fluxible documentation built on June 25, 2025, 1:08 a.m.