PWFSLSmoke (version 1.2.100)

rawPlot_timeOfDaySpaghetti: Create Time of Day Spaghetti Plot from a Raw Dataframe

Description

Spaghetti Plot that shows data by hour-of-day.

Usage

rawPlot_timeOfDaySpaghetti(df, parameter = "pm25", tlim = NULL,
  shadedNight = TRUE, meanCol = "black", meanLwd = 4, meanLty = 1,
  highlightDates = c(), highlightCol = "dodgerblue", ...)

Arguments

df

enhanced, raw dataframe as created by the raw_enhance() function

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 NA to omit the mean)

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 lines() function for day lines

Examples

Run this code
# NOT RUN {
raw <- airsis_createRawDataframe(20160901, 20161015, 'USFS', 1012)
raw <- raw_enhance(raw)
rawPlot_timeOfDaySpaghetti(raw,parameter="temperature")
# }

Run the code above in your browser using DataLab