Time Series Functions

Time Series Functions
Name Description
times Returns a list of the times in the time series
values Returns a list of the values in the time series
entry

Returns the time and value pair at the given index or date for a time series. Examples:

  • entry(a, 1)
  • entry(a, "Nov 3, 2006")
lag

Returns the previous value of a time series. Examples:

  • lag(x) : previous value
  • lag(x, 3) : third previous value
tsmin Minimum value in a time series
tsmax Maximum value in a time series
cumsum Cumulative sum of all the values in the time series

 

 

Time Series Functions