powered by
Arithmetic Operators for ts-boxable objects
e1 %ts+% e2e1 %ts-% e2e1 %ts*% e2e1 %ts/% e2
e1 %ts-% e2
e1 %ts*% e2
e1 %ts/% e2
a ts-boxable time series, with the same class as the left input.
ts-boxable time series, an object of class ts, xts, zoo, data.frame, data.table, tbl, tbl_ts, tbl_time, tis, irts or timeSeries.
ts
xts
zoo
data.frame
data.table
tbl
tbl_ts
tbl_time
tis
irts
timeSeries
head(fdeaths - mdeaths) head(fdeaths %ts-% mdeaths) head(ts_df(fdeaths) %ts-% mdeaths)
Run the code above in your browser using DataLab