TimeSeriesMap

TimeSeriesMap[f,tseries]
applies f to the values in tseries.

DetailsDetails

  • TimeSeriesMap is used to apply functions to the values in a time series.
  • TimeSeriesMap can be used for regularly and irregularly spaced time series.
  • The input tseries can be a list of values {x1,x2,}, a list of time-value pairs {{t1,x1},{t2,x2},}, a TimeSeries, an EventSeries, or TemporalData.
  • TimeSeriesMap threads pathwise for tseries with multiple paths.

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Map a function f over the values in a time series:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=

Find totals for each value in a multivariate time series:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=
Introduced in 2014
(10.0)