fit_water_regression: fit_water_regression

View source: R/reference_data_regression.R

fit_water_regressionR Documentation

fit_water_regression

Description

fit_water_regression

Usage

fit_water_regression(stds, calibration_half_width, slope_tolerance, r2_thres)

Arguments

stds

Reference data.frame from which to estimate calibration parameters.

calibration_half_width

Determines the period (in days) from which reference data are selected (period is 2*calibration_half_width).

slope_tolerance

Allows for filtering of slopes that deviate from 1 by slope_tolerance.

r2_thres

What is the minimum r2 value permitted in a 'useful' calibration relationship.

Value

Returns a data.frame of calibration parameters. Output data.frame includes slope, intercept, and r^2 values for d13C and CO2 values.


NEONiso documentation built on Sept. 23, 2022, 1:06 a.m.