This function creates interactive graphs that will be displayed in RStudio's 'Viewer' tab.
monitor_dygraph(
monitor,
title = "title",
ylab = "PM2.5 Concentration",
rollPeriod = 1,
showLegend = TRUE
)
mts_monitor object.
Title text.
Title for the y axis
Rolling mean to be applied to the data.
Logical to toggle display of the legend.
Initiates the interactive dygraph plot in RStudio's 'Viewer' tab.
if (FALSE) {
library(AirMonitor)
# Multiple monitors
Camp_Fire %>%
monitor_filter(countyName == "Alameda") %>%
monitor_dygraph()
}