R/rawPlot_timeOfDaySpaghetti.R
rawPlot_timeOfDaySpaghetti.Rd
Spaghetti Plot that shows data by hour-of-day.
rawPlot_timeOfDaySpaghetti( df, parameter = "pm25", tlim = NULL, shadedNight = TRUE, meanCol = "black", meanLwd = 4, meanLty = 1, highlightDates = c(), highlightCol = "dodgerblue", ... )
df | enhanced, raw dataframe as created by the |
---|---|
parameter | variable to be plotted |
tlim | optional vector with start and end times (integer or character representing YYYYMMDD[HH]) |
shadedNight | add nighttime shading |
meanCol | color used for the mean line (use |
meanLwd | line width used for the mean line |
meanLty | line type used for the mean line |
highlightDates | dates to be highlighted in YYYYMMDD format |
highlightCol | color used for highlighted days |
... | additional graphical parameters are passed to the |
if (FALSE) { # Fail gracefully if any resources are not available try({ raw <- airsis_createRawDataframe(20160901, 20161015, 'USFS', 1012) raw <- raw_enhance(raw) rawPlot_timeOfDaySpaghetti(raw,parameter="temperature") }, silent = FALSE) }