R/pat_monitorComparison.R
pat_monitorComparison.Rd
Creates and returns a ggplot object that plots raw pat data, hourly aggregated pat data and hourly data from the nearest federal monitor from the PWFSL database.
pat_monitorComparison(
pat = NULL,
FUN = AirSensor::PurpleAirQC_hourly_AB_01,
distanceCutoff = 20,
ylim = NULL,
replaceOutliers = TRUE,
timezone = NULL
)
PurpleAir Timeseries pat object.
Algorithm applied to pat object for hourly aggregation and
quality control. See pat_createAirSensor()
for more details.
Numeric distance (km) cutoff for nearest PWFSL monitor.
Vector of (lo,hi) y-axis limits.
Logical specifying whether replace outliers in the pat object.
Olson timezone used for the time axis. (Defaults to
pat
local time.)
A ggplot object.