Description Usage Arguments Note Examples
View source: R/rawPlot_pollutionRose.R
Create pollution rose plot from an enhanced raw dataframe.
This function is based on openair::pollutionRose()
. If normalized, black line
indicates frequency by direction.
1 2 3 4 5 6 7 8 |
df |
enhanced, raw dataframe as created by the |
parameter |
parameter to plot |
tlim |
optional vector with start and end times (integer or character representing YYYYMMDD[HH]) |
localTime |
logical specifying whether |
normalize |
normalize slices to fill entire area, allowing for easier comparison of counts of magnitudes by direction |
... |
additional arguments to pass on to openair::pollutionRose() |
If more than one timezone is found, localTime
is ignored and UTC is used.
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
# Fail gracefully if any resources are not available
try({
raw <- airsis_createRawDataframe(20160901, 20161015, 'USFS', 1012)
raw <- raw_enhance(raw)
rawPlot_pollutionRose(raw)
}, silent = FALSE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.