powered by
Creates a spaghetti plot of PM2.5 levels by hour for one or more days. The average by hour over the period is also calculated and plotted as a thick red line.
monitorPlot_timeOfDaySpaghetti(ws_monitor, monitorID = NULL, tlim = NULL, ylim = NULL, aqiLines = TRUE, shadedNight = TRUE, title = NULL, ...)
ws_monitor object
id for a specific monitor in the ws_monitor object
optional vector with start and end times (integer or character representing YYYYMMDD[HH])
y limits for the plot
horizontal lines indicating AQI levels
add nighttime shading based on of middle day in selected period
plot title
additional arguments to pass to lines()
lines()
# NOT RUN { monitorPlot_timeOfDaySpaghetti(Carmel_Valley, tlim=c(20160801,20160809)) # }
Run the code above in your browser using DataLab