Description Usage Arguments Value Examples
Trims the date range of a pat object to local time date boundaries which are within the range of data. This has the effect of removing partial-day data records and is useful when calculating full-day statistics.
1 | pat_trimDate(pat = NULL)
|
pat |
PurpleAir Timeseries pat object. |
A subset of the given pat object.
1 2 3 4 5 6 7 8 9 10 11 12 13 | library(AirSensor)
UTC_week <- pat_filterDate(
example_pat,
startdate = 20180808,
enddate = 20180815,
timezone = "UTC"
)
pat_multiPlot(UTC_week)
local_week <- pat_trimDate(UTC_week)
pat_multiPlot(local_week)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.