boxConcMonth: Box plot of the water quality data by month

Description Usage Arguments See Also Examples

View source: R/boxConcMonth.R

Description

Data come from named list, which contains a Sample dataframe with the sample data, and an INFO dataframe with metadata.

Box widths are proportional to the square root of the number of samples in the month.

Although there are a lot of optional arguments to this function, most are set to a logical default.

Usage

1
2
3
4
boxConcMonth(eList, printTitle = TRUE, cex = 0.8, cex.axis = 1.1,
  cex.main = 1.1, las = 1, logScale = FALSE, tcl = 0.5,
  tinyPlot = FALSE, customPar = FALSE, showYLabels = TRUE,
  showXLabels = TRUE, showXAxis = TRUE, showYAxis = TRUE, ...)

Arguments

eList

named list with at least the Sample and INFO dataframes

printTitle

logical variable if TRUE title is printed, if FALSE not printed (this is best for a multi-plot figure)

cex

numerical value giving the amount by which plotting symbols should be magnified

cex.axis

magnification to be used for axis annotation relative to the current setting of cex

cex.main

magnification to be used for main titles relative to the current setting of cex

las

numeric in 0,1,2,3; the style of axis labels, see ?par

logScale

logical if TRUE y plotted in log axis

tcl

number defaults to 0.5, specifies length of tick marks as fraction of height of a line of text

tinyPlot

logical variable, if TRUE plot is designed to be plotted small as part of a multi-plot figure, default is FALSE.

customPar

logical defaults to FALSE. If TRUE, par() should be set by user before calling this function

showYLabels

logical defaults to TRUE. If FALSE, the y axis label is not plotted

showXLabels

logical defaults to TRUE. If FALSE, the x axis label is not plotted

showXAxis

logical defaults to TRUE. If FALSE, the x axis is not plotted

showYAxis

logical defaults to TRUE. If FALSE, the y axis is not plotted

...

arbitrary graphical parameters that will be passed to genericEGRETDotPlot function (see ?par for options)

See Also

boxplot

Examples

1
2
3
4
5
6
eList <- Choptank_eList
# Water year:
boxConcMonth(eList)
# Graphs consisting of Jun-Aug
eList <- setPA(eList, paStart=6,paLong=3)
boxConcMonth(eList)

Example output



EGRET documentation built on Jan. 25, 2022, 5:08 p.m.