11.07.2015 Views

Package 'openair'

Package 'openair'

Package 'openair'

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

polarPlot 91An openair output can be manipulated using a number of generic operations, including print, plotand summary. See openair.generics for further details.Author(s)David CarslawReferences~put references to the literature/web site here ~See AlsoSee Also as windRose, polarPlotExamples# basic wind frequency plotpolarFreq(mydata)# wind frequencies by year## Not run: polarFreq(mydata, type = "year")# mean SO2 by year, showing only bins with at least 2 points## Not run: polarFreq(mydata, pollutant = "so2", type = "year", statistic = "mean", min.bin = 2)# weighted mean SO2 by year, showing only bins with at least 2 points## Not run: polarFreq(mydata, pollutant = "so2", type = "year", statistic = "weighted.mean", min.bin = 2)#windRose for just 2000 and 2003 with different colours## Not run: polarFreq(subset(mydata, format(date, "%Y") %in% c(2000, 2003)), type = "year", cols = "jet")# user defined breaks from 0-700 in intervals of 100 (note linear scale)## Not run: polarFreq(mydata, breaks = seq(0, 700, 100))# more complicated user-defined breaks - useful for highlighting bins with a certain number of data points## Not run: polarFreq(mydata, breaks = c(0, 10, 50, 100, 250, 500, 700))# source contribution plot and use of offset option## Not run: polarFreq(mydata, pollutant = "pm25", statistic="weighted.mean", offset = 50, ws.int = 25, trans = FALSE)## End(Not run)polarPlotBivariate polar plot with smoothing

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!