plotConcHistBoot: Graph of annual concentration, flow normalized concentration,...

Description Usage Arguments Examples

Description

Uses the output of modelEstimation in the EGRET package (results in the named list eList), and the data frame CIAnnualResults (produced by EGRETci package using scripts described in the vignette) to produce a graph of annual concentration, flow normalized concentration, and confidence bands for flow-normalized concentrations. In addition to the arguments listed below, it will accept any additional arguments that are listed for the EGRET function plotConcHist.

Usage

1
2
3
plotConcHistBoot(eList, CIAnnualResults, yearStart = NA, yearEnd = NA,
  plotFlowNorm = TRUE, col.pred = "green", concMax = NA,
  printTitle = TRUE, cex.main = 1.1, ...)

Arguments

eList

named list from EGRET package after running modelEstimation

CIAnnualResults

data frame generated from ciBands (includes nBoot, probs, and blockLength attributes)

yearStart

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)

yearEnd

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)

plotFlowNorm

logical variable if TRUE flow normalized line is plotted, if FALSE not plotted

col.pred

character prediction color

concMax

number specifying the maximum value to be used on the vertical axis, default is NA (which allows it to be set automatically by the data)

printTitle

logical

cex.main

numeric title scale

...

graphical parameters

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
library(EGRET)
eList <- Choptank_eList
CIAnnualResults <- Choptank_CIAnnualResults
plotConcHistBoot(eList, CIAnnualResults)
plotConcHistBoot(eList, CIAnnualResults, yearStart=1990, yearEnd=2002)
## Not run: 
CIAnnualResults <- ciCalculations(eList, nBoot = 100, blockLength = 200)
plotConcHistBoot(eList, CIAnnualResults)

## End(Not run)

fawda123/EGRETci documentation built on May 16, 2019, 10:57 a.m.