# NOT RUN {
library(EGRET)
eList <- Choptank_eList
eBoot <- Choptank_eBoot
caseSetUp <- Choptank_caseSetUp
plotHistogramTrend(eList, eBoot, caseSetUp, flux = FALSE)
# }
# NOT RUN {
# Using wBT:
caseSetUp <- trendSetUp(eList)
eBoot <- wBT(eList,caseSetUp)
plotHistogramTrend(eList, eBoot, caseSetUp,
flux = FALSE, xMin = -20, xMax = 60, xStep = 5)
plotHistogramTrend(eList, eBoot, caseSetUp,
flux = TRUE, xMin = -20, xMax = 60, xStep = 5)
# Using runPairs followed by runPairsBoot:
year1 <- 1985
year2 <- 2009
pairOut_2 <- runPairs(eList, year1, year2, windowSide = 7)
boot_pair_out <- runPairsBoot(eList, pairOut_2, nBoot = 10)
plotHistogramTrend(eList, boot_pair_out, caseSetUp = NA,
flux = TRUE, xMin = -20, xMax = 60, xStep = 5)
# }
Run the code above in your browser using DataLab