Data come from named list (eList), which contains a Daily dataframe with the daily flow data, and an INFO dataframe with metadata.

The annual concentrations are "time-weighted" mean concentrations (as opposed to "flow-weighted"). The annual results reported are for a specified "period of analysis" which can be an entire water year, a calendar, a season or even an individual month. User specifies this period of analysis in the call to setupYears.

User can specify plotting of three possible series. All are in units of mg/L. Annual mean concentration WRTDS_K version of annual mean concentration (requires that WRTDSKalman has been run) Flow normalized mean concentration

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

plotConcHist(eList, yearStart = NA, yearEnd = NA, concMax = NA,
printTitle = TRUE, tinyPlot = FALSE, usgsStyle = FALSE,
plotFlowNorm = TRUE, plotAnnual = TRUE, plotGenConc = FALSE,
cex = 0.8, cex.axis = 1.1, cex.main = 1.1, lwd = 2, col = "black",
col.pred = "green", col.gen = "red", customPar = FALSE, ...)

## Arguments

eList named list with at least the Daily and INFO dataframes numeric is the calendar year containing the first estimated annual value to be plotted, default is NA (which allows it to be set automatically by the data) numeric is the calendar year just after the last estimated annual value to be plotted, default is NA (which allows it to be set automatically by the data) numeric. Maximum value of concentration to be plotted. logical variable if TRUE title is printed, if FALSE title is not printed (this is best for a multi-plot figure) logical variable, if TRUE plot is designed to be plotted small, as a part of a multipart figure, default is FALSE logical option to use USGS style guidelines. Setting this option to TRUE does NOT guarantee USGS compliance. It will only change automatically generated labels logical variable if TRUE flow normalized line is plotted, if FALSE not plotted logical variable if TRUE, annual concentration points from WRTDS output are plotted, if FALSE not plotted logical variable. If TRUE, annual concentration points from WRTDS_K output are plotted, if FALSE not plotted numerical value giving the amount by which plotting symbols should be magnified magnification to be used for axis annotation relative to the current setting of cex magnification to be used for main titles relative to the current setting of cex number magnification of line width. color of points on plot, see ?par 'Color Specification' color of flow normalized line on plot, see ?par 'Color Specification' color of points for WRTDS_K output on plot, see ?par 'Color Specification' logical defaults to FALSE. If TRUE, par() should be set by user before calling this function (for example, adjusting margins with par(mar=c(5,5,5,5))). If customPar FALSE, EGRET chooses the best margins depending on tinyPlot. arbitrary graphical parameters that will be passed to genericEGRETDotPlot function (see ?par for options)

setupYears, genericEGRETDotPlot
yearStart <- 2001