custom_pm25DiurnalScales: PWFSL PM2.5 diurnal scales

Description Usage Arguments

View source: R/custom_pm25DiurnalScales.R

Description

Add PWFSL-style x-axis and y-axis scales suitable for a plot showing PM2.5 data as a funciton of hour of the day.

Usage

1
2
3
custom_pm25DiurnalScales(data = NULL, ylim = NULL, xlab = NULL,
  ylab = "PM2.5 (µg/m3)", yexp = c(0.05, 0.05), xexp = c(0.05,
  0.05), offsetBreaks = FALSE)

Arguments

data

pm25 timeseries data. Should match the default dataset of the plot.

ylim

custom y-axis limits. This function will apply a default limit depending on the data.

xlab

Custom x-axis label. If NULL a default xlab will be generated.

ylab

Custam y-axis label.

yexp

Vector of range expansion constants used to add some padding around the data on the y-axis, to ensure that they are placed some distance away from the axes.

xexp

Vector of range expansion constants used to add some padding around the data on the x-axis, to ensure that they are placed some distance away from the axes.

offsetBreaks

if TRUE, x-axis ticks and guides are offset by 0.5.


MazamaScience/PWFSLSmokePlots documentation built on Oct. 11, 2019, 11:03 p.m.