addLags: Add differences to the time-course data.

Description Usage Arguments Value Examples

View source: R/utils.R

Description

This function concatenates lags to time-course data stored in elements of the timeSeries slot.

Usage

1
addLags(object, lambda = c(0.5, 0.25))

Arguments

object

A TimeSeriesExperiment object

lambda

Weights for each lag difference, for time-course data. Length of lambda specifies number of lags to include. By default lag of order one and two are included with coefficients 0.5 and 0.25 respectively.

Value

Returns TimeSeriesExperiment object with lags added to elements in timeSeries slot.

Examples

1
2
3
4
5
6

nlhuong/vistimeseq documentation built on Sept. 4, 2021, 2:41 a.m.