11.07.2015 Views

Package 'openair'

Package 'openair'

Package 'openair'

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

80 percentileRoseintervals User-supplied intervals for the scale e.g. intervals = c(0, 10, 30, 50)angle.scaleauto.textkey.headerkey.footerkey.positionkeyThe pollutant scale is by default shown at a 45 degree angle. Sometimes theplacement of the scale may interfere with an interesting feature. The user cantherefore set angle.scale to another value (between 0 and 360 degrees) tomitigate such problems. For example angle.scale = 315 will draw the scaleheading in a NW direction.Either TRUE (default) or FALSE. If TRUE titles and axis labels will automaticallytry and format pollutant names and units properly e.g. by subscripting the ‘2’ inNO2.Adds additional text/labels to the scale key. For example, passing options key.header= "header", key.footer = "footer" adds addition text above and belowthe scale key. These arguments are passed to drawOpenKey via quickText,applying the auto.text argument, to handle formatting.key.header.Location where the scale key is to plotted. Allowed arguments currently include"top", "right", "bottom" and "left".Fine control of the scale key via drawOpenKey. See drawOpenKey for furtherdetails.... Other graphical parameters are passed onto cutData and lattice:xyplot. Forexample, percentileRose passes the option hemisphere = "southern" onto cutData to provide southern (rather than default northern) hemisphere handlingof type = "season". Similarly, common graphical arguments, such asxlim and ylim for plotting ranges and lwd for line thickness when using fill = FALSE,are passed on xyplot, although some local modifications may be applied byopenair. For example, axis and title labelling options (such as xlab, ylab andmain) are passed to xyplot via quickText to handle routine formatting.DetailspercentileRose calculates percentile levels of a pollutant and plots them by wind direction. Oneor more percentile levels can be calculated and these are displayed as either filled areas or as lines.The levels by wind direction are calculated using a cyclic smooth cubic spline. The wind directionsare rounded to the nearest 10 degrees, consistent with surface data from the UK Met Office beforea smooth is fitted.The percentileRose function compliments other similar functions including windRose, pollutionRose,polarFreq or polarPlot. It is most useful for showing the distribution of concentrations by winddirection and often can reveal different sources e.g. those that only affect high percentile concentrationssuch as a chimney stack.Similar to other functions, flexible conditioning is available through the type option. It is easyfor example to consider multiple percentile values for a pollutant by season, year and so on. Seeexamples below.percentileRose also offers great flexibility with the scale used and the user has fine control overboth the range, interval and colour.

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

Saved successfully!

Ooh no, something went wrong!