mts_distinct {MazamaTimeSeries}R Documentation

Retain only distinct data records in mts$data

Description

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

Usage

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.)


[Package MazamaTimeSeries version 0.3.0 Index]