pat_aggregateOutlierCounts: Aggregate data with count of outliers in each bin

View source: R/pat_aggregateOutlierCounts.R

pat_aggregateOutlierCountsR Documentation

Aggregate data with count of outliers in each bin

Description

Aggregate data with count of outliers in each bin

Usage

pat_aggregateOutlierCounts(
  pat = NULL,
  unit = "minutes",
  count = 60,
  windowSize = 23,
  thresholdMin = 8
)

Arguments

pat

PurpleAir Timeseries pat object.

unit

Character string specifying temporal units for binning.

count

Number of units per bin.

windowSize

the size of the rolling window. Must satisfy windowSize <= count.

thresholdMin

the minimum threshold value to detect outliers via hampel filter

Value

data.frame A data.frame with flag counts per bin.

See Also

pat_aggregateData


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