This function is primarily for internal use.

Two successive steps are used to guarantee that the datetime axis contains no repeated values:

  1. remove any duplicate records

  2. guarantee that rows are in datetime order

mts_distinct(mts)

Arguments

mts

mts object

Value

An mts object where each record is associated with a unique time. (A list with meta and data dataframes.)