Learn R Programming

EGRET (version 2.3.0)

fluxBiasMulti: Produces 8-panel plot that is useful for determining if there is a flux bias problem

Description

These plots use the jack-knife estimates from WRTDS to investigate the potential flux bias problem. It can also be used for estimates constructed by other methods (such as LOADEST) if the results are stored in a data frame organized like the Sample data frame. It allows additional label information to indicate what method is used. Although there are a lot of optional arguments to this function, most are set to a logical default. Data come from named list, which contains a Sample dataframe with the sample data, a Daily dataframe with the daily flow data, and an INFO dataframe with metadata

Usage

fluxBiasMulti(eList, qUnit = 2, fluxUnit = 3, moreTitle = "WRTDS",
  cex = 0.7, cex.axis = 1.1, cex.main = 1.1, col = "black", lwd = 1,
  ...)

Arguments

eList
named list with at least Sample, Daily, and INFO dataframes
qUnit
object of qUnit class. printqUnitCheatSheet, or numeric represented the short code, or character representing the descriptive name.
fluxUnit
object of fluxUnit class. printFluxUnitCheatSheet, or numeric represented the short code, or character representing the descriptive name.
moreTitle
character specifying some additional information to go in figure title, typically some information about the specific estimation method used, default is no additional information
cex
numerical value giving the amount by which plotting symbols should be magnified
cex.axis
magnification to be used for axis annotation relative to the current setting of cex
cex.main
magnification to be used for main titles relative to the current setting of cex
col
color of points on plot, see ?par 'Color Specification'
lwd
number line width
...
arbitrary graphical parameters that will be passed to genericEGRETDotPlot function (see ?par for options)

Examples

Run this code
eList <- Choptank_eList
fluxBiasMulti(eList)
# Water year:
pdf("fluxBiasMulti.pdf", height=9, width=8)
fluxBiasMulti(eList)
dev.off()
# Graphs consisting of Jun-Aug
eList <- setPA(eList,paStart=6,paLong=3)
pdf("fluxBiasMultiSummer.pdf", height=9, width=8)
fluxBiasMulti(eList)
dev.off()

Run the code above in your browser using DataLab