Learn R Programming

SWTools (version 1.1.0)

SILOMonthlyRainfall: Plot a boxplot of monthly rainfall with mean monthly evaporation

Description

Plot a boxplot of monthly rainfall with mean monthly evaporation

Usage

SILOMonthlyRainfall(
  SILO,
  evapcol = "Mwet",
  filename = NULL,
  cols = pkg.env$cols
)

Value

a ggplot of the monthly rainfall and evaporation.

Arguments

SILO

a list of sites with SILO data, as created by SILOLoad()

evapcol

name of an evaporation column to plot, defaults to "MWet".

filename

optional, filename to write the plot to, including extension. Filename can include full path or sub folders.

cols

optional, a vector of colours to use for the plotting

Examples

Run this code
 
if (FALSE) {
X<-SILOLoad(c("24001","24002","24003"),path="./SWTools/extdata")
p<-SILOMonthlyRainfall(X,"Span",cols=c("black","red","#124734"))
}

Run the code above in your browser using DataLab