adjust_linear: Linearly adjust data based on two data points of know...

Description Usage Arguments Value

View source: R/adjust_linear.R

Description

Linearly adjust data based on two data points of know quality.

Usage

1
adjust_linear(raw, calib, rowfirst, rowlast, rownums = 1:length(raw))

Arguments

raw

(numeric) Numeric vector of raw data, sorted by date time ascending.

calib

(numeric) Numeric vector that is blank except for the calibration values.

rowfirst

(numeric) Rownumber of the first calibration value.

rowlast

(numeric) Rownumber of the second (and last) calibration value.

rownums

(numeric) Vector of row numbers. Defaults to 1:length(raw)

Value

A vector with caliberated values. Adjustment is linear.


BLE-LTER/insitu documentation built on Feb. 5, 2021, 5:28 p.m.