Description Usage Arguments Details Value See Also Examples
Create a daily average barplot of PM2.5 values at a location.
This function presents a simplified interface to dailyBarplotBase
and collects common options into a set of named styles.
Current styles include:
pwfsl
– used in the PWFSL monitoring site. Best for 1-2
weeks of data.
The returned object may be further amended with **ggplot** elements.
1 2 3 4 5 6 7 8 9 10 |
ws_monitor |
ws_monitor object. |
startdate |
Desired start date (integer or character in Ymd format
or |
enddate |
Desired end date (integer or character in Ymd format
or |
style |
Plot style. |
monitorID |
Monitor ID of interest. Required if |
currentNowcast |
Real-time current Nowcast value – for use in plots presented in the PWFSL monitoring site. |
currentPrediction |
Real-time current prediction for today's daily average – for use in plots presented in the PWFSL monitoring site. |
title |
Optional title for the plot. |
Daily averages are calculated from midnight-to-midnight in monitor local time.
A 'ggplot' plot object with a "daily barplot" for a single monitor.
1 2 3 4 5 | NW <- PWFSLSmoke::Northwest_Megafires
dailyBarplot(NW, "2015-07-01", "2015-10-01",
style = "month",
monitorID = "160690014_01",
title = "Daily Average PM2.5\nRuebens, Idaho")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.