Learn R Programming

SWTools (version 1.1.0)

SILOCumulativeDeviation: Plot the cumulative deviation from the mean for each silo station on one plot

Description

Plot the cumulative deviation from the mean for each silo station on one plot

Usage

SILOCumulativeDeviation(SILO, filename = NULL, cols = pkg.env$cols)

Value

a ggplot plot of the cumulative deviation from the mean.

Arguments

SILO

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

filename

optional, filename to write the plot to, including extension (e.g. .png). 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<-SILOCumulativeDeviation(X)
}

Run the code above in your browser using DataLab