pat_distinct: Retain only distinct data records in pat$data

View source: R/utils-paTimeseries.R

pat_distinctR Documentation

Retain only distinct data records in pat$data

Description

Performs two passes to guarantee that the datetime axis contains no repeated values:

  1. remove any duplicate records

  2. guarantee that rows are in datetime order

  3. average together fields for any remaining records that share the same datetime

Usage

pat_distinct(pat)

Arguments

pat

pat object

Value

A pat object with no duplicated data records.


MazamaScience/AirSensor documentation built on April 28, 2023, 11:16 a.m.