Description Usage Arguments Value Examples
View source: R/pat_monitorComparison.R
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.
1 2 3 4 5 6 7 8 | pat_monitorComparison(
pat = NULL,
FUN = AirSensor::PurpleAirQC_hourly_AB_01,
distanceCutoff = 20,
ylim = NULL,
replaceOutliers = TRUE,
timezone = NULL
)
|
pat |
PurpleAir Timeseries pat object. |
FUN |
Algorithm applied to pat object for hourly aggregation and
quality control. See |
distanceCutoff |
Numeric distance (km) cutoff for nearest PWFSL monitor. |
ylim |
Vector of (lo,hi) y-axis limits. |
replaceOutliers |
Logical specifying whether replace outliers in the pat object. |
timezone |
Olson timezone used for the time axis. (Defaults to
|
A ggplot object.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.