keeling_split: Keeling isotope analysis

Description Usage Arguments Value

View source: R/keeling_split.r

Description

keeling performs keeling isotope analysis, generating a linear fit using QR regression and a d13C keeling plot.

Usage

1
keeling_split(time, co2, d13c, format = "%Y-%m-01", tz = "UTC")

Arguments

time

POSIXct timestamps of measurements

co2

numeric co2 concentrations, in ppm

d13c

numeric d13C, in per mille

format

character format compatible with strptime to split the data by. Defaults to '%Y-%m-01' which indicates monthly regression statistics with floored timestamps (e.g. 2016-01-01 indicates the statistics for the month of January, 2016)

tz

timezone interpreted by strptime

Value

data_frame containing the slope, yintercept, fit statistics including r_squared, rmse, std_error, and n, and lm_obj the fit object created using the lm function for each time split


benfasoli/uataq documentation built on Sept. 27, 2021, 9:29 p.m.