plotHistogramTrend: plotHistogramTrend

Description Usage Arguments Examples

Description

plotHistogramTrend

Usage

1
2
3
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 multiples of 10 or 20, and the third argument should probably be 5 or 10. Finally, it is good to have the first and second arguments straddle zero.

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
library(EGRET)
eList <- Choptank_eList
eBoot <- Choptank_eBoot
caseSetUp <- Choptank_caseSetUp
plotHistogramTrend(eList, eBoot, caseSetUp, flux=FALSE)

## Not run: 
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))

## End(Not run)

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