plotMonthlyBar | R Documentation |
This plotting method for air temperature data plots bar plots for monthly anomalies and is colour coded based on normalized monthly anomalies
plotMonthlyBar(
df,
ylim,
years,
plotYear,
yearLabel = FALSE,
yearLabelSide,
drawPalette = TRUE,
xaxt = TRUE,
ylabel = TRUE,
mar
)
df |
a data.frame containing at least year, month, anomaly, and normalizedAnomaly. |
ylim |
a vector of length 2 indicating the range for the y-axis |
years |
vector of length two indicating the range of years for climatology |
plotYear |
a vector indicating which years to plot. Can be a vector of length one, indicating to plot only one year, or of length two, indicating a range of years to plot |
yearLabel |
logical expression indicating whether or not to label the plotYears |
yearLabelSide |
which side the yearLabel should be placed, (1 = bottom, 3 = top) |
drawPalette |
logical expression indicating whether or not to draw a palette |
xaxt |
logical expression indicating whether or not to label x-axis |
ylabel |
logical exptression indicating whether or not to label y-axis labels |
mar |
vector of length 4 indicating the margins of the plot |
Chantelle Layton
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.