## Registered S3 method overwritten by 'quantmod':
## method from
## as.zoo.data.frame zoo
This is an R Markdown document to explain and explore the air quality index in the state of Kuwait. http://rmarkdown.rstudio.com.
## Station date CO NO NO2 NOx
## "character" "Date" "numeric" "numeric" "numeric" "numeric"
## O3 PM10 SO2
## "numeric" "numeric" "numeric"
timePlot(data1, pollutant = c("SO2"), type = "Station")
trendLevel(data1, pollutant = "SO2")
calendarPlot(data1, pollutant = "SO2", year = 2019,
annotate = "wd")
smoothTrend(data1, pollutant = "SO2",
avg.time = "month",
type = "season",
date.breaks = 10)
smoothTrend(data1, pollutant = c("SO2"),
type = c("Station"),
date.breaks = 3, lty = 0)
polarPlot(data1, pollutant = "SO2", type = c("Station"))
timePlot(data1, pollutant = c("NO2"), type = "Station")
timePlot(data1, pollutant = c("CO"), type = "Station")
timePlot(data1, pollutant = c("PM10"), type = "Station")
timePlot(data1, pollutant = c("O3"), type = "Station")
When you click the Knit button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this: