ts_arithmetic: Arithmetic Operators for ts-boxable objects

Description Usage Arguments Value Examples

View source: R/ts_arithmetic.R

Description

Arithmetic Operators for ts-boxable objects

Usage

1
2
3
4
5
6
7
e1 %ts+% e2

e1 %ts-% e2

e1 %ts*% e2

e1 %ts/% e2

Arguments

e1

ts-boxable time series, an object of class ts, xts, data.frame, data.table, or tibble.

e2

ts-boxable time series, an object of class ts, xts, data.frame, data.table, or tibble.

Value

a ts-boxable time series, with the same class as the left input.

Examples

1
2
3

christophsax/tsbox documentation built on June 26, 2018, 1:13 p.m.