Learn R Programming

EGRETci (version 1.0.0)

plotHistogramTrend: plotHistogramTrend

Description

Histogram of trend.

Usage

plotHistogramTrend(eList, eBoot, caseSetUp, xSeq = seq(-100, 100, 10),
  flux = TRUE, printTitle = TRUE, cex.main = 1.1, col.fill = "grey",
  ...)

Arguments

eList
named list with at least the Daily, Sample, and INFO dataframes. Created from the EGRET package, after running modelEstimation.
eBoot
named list. Returned from wBT.
caseSetUp
data frame. Returned from trendSetUp.
xSeq
vector defaults to seq(-100,100,10). It is recommended to try the default first. The first argument in the seq function needs to be lower than the minimum value, the second argument needs to be higher than the highest value, both should probably be mult
flux
logical if TRUE, plots flux results, if FALSE plots concentration
printTitle
logical if TRUE, includes title
cex.main
numeric title font size
col.fill
character fill color
...
base R graphical parameters that can be passed to the hist function

Examples

Run this code
library(EGRET)
eList <- Choptank_eList
eBoot <- Choptank_eBoot
caseSetUp <- Choptank_caseSetUp
plotHistogramTrend(eList, eBoot, caseSetUp, flux=FALSE)

caseSetUp <- trendSetUp(eList)
eBoot <- wBT(eList,caseSetUp)
plotHistogramTrend(eList, eBoot, caseSetUp,
                   flux=FALSE, xSeq = seq(-20,60,5))
plotHistogramTrend(eList, eBoot, caseSetUp,
                   flux=TRUE, xSeq = seq(-20,60,5))

Run the code above in your browser using DataLab