mts_distinct: Retain only distinct data records in 'mts$data'

View source: R/utils-mts.R

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


MazamaTimeSeries documentation built on June 8, 2025, 2 p.m.