View source: R/ts_arithmetic.R
ts_arithmetic | R Documentation |
Arithmetic Operators for ts-boxable objects
e1 %ts+% e2
e1 %ts-% e2
e1 %ts*% e2
e1 %ts/% e2
e1 |
ts-boxable time series, an object of class |
e2 |
ts-boxable time series, an object of class |
a ts-boxable time series, with the same class as the left input.
head(fdeaths - mdeaths)
head(fdeaths %ts-% mdeaths)
head(ts_df(fdeaths) %ts-% mdeaths)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.