IB: Intermission Bias

View source: R/IB.R

IBR Documentation

Intermission Bias

Description

Corrects a struct of timeseries for up to two intermission biases

Usage

IB(TSM, date, biasvec = c(1, -2), biasid)

Arguments

TSM

The time series struct with the intermission bias

date

The time axis in the time series (dates, seconds, intervals)

biasvec

The vector containging up to 2 different bias. If the data only contains 1 bias, insert that value instead of the vector

biasid

A struct with the same dimensions as TSM, with integers indicating the bias: 0 for the restrained time series, 1 for the first bias and 2 for the second bias.

Value

Time series struct with bias correction


MathiasVendt/TSAIB documentation built on May 4, 2022, 11:34 p.m.