applyCorrection: Apply a single correction to a time series

Description Usage Arguments Value See Also

View source: R/corrections_grades_gaps.R

Description

Given a multiPointCorrection and a time series, calculate the effect the correction would have on the time series

Usage

1
applyCorrection(datetime, raw, correction)

Arguments

datetime

a vector of datetimes, as POSIXct

raw

a numeric vector of raw time series data corresponding to each datetime. This should be the same length as datetime.

correction

a multiPointCorrection object

Value

a numeric vector, the same length as datetime and raw, giving the value of the correction applicable to each point in the time series

See Also

[multiPointCorrection()] for details on the multiPointCorrection class


PatrickEslick/CWQkitr documentation built on Dec. 12, 2019, 12:55 a.m.