sts_distinct {MazamaTimeSeries} | R Documentation |
Retain only distinct data records in sts$data
Description
Three successive steps are used to guarantee that the
datetime
axis contains no repeated values:
remove any duplicate records
guarantee that rows are in
datetime
orderaverage together fields for any remaining records that share the same
datetime
Usage
sts_distinct(sts)
Arguments
sts |
sts object |
Value
An sts object where each record is associated with a unique
time.
(A list with meta
and data
dataframes.)
[Package MazamaTimeSeries version 0.3.0 Index]