Part of the flowHistory system. The four statistics are 1-day maximum, annual mean, annual median, and annual 7-day minimum. 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. Each graph shows a loess smooth of the data that are plotted.
plotFourStats(eList, yearStart = NA, yearEnd = NA, printTitle = TRUE,
runoff = FALSE, cex.main = 1.2, qUnit = 1, cex.axis = 1.2,
cex = 0.8, col = "black", lwd = 1, ...)
named list with at least Daily and INFO dataframes
A numeric value for year in which the graph should start, default is NA, which indicates that the graph should start with first annual value
A numeric value for year in which the graph should end, default is NA, which indicates that the graph should end with last annual value
logical variable, if TRUE title is printed, if FALSE title is not printed, default is TRUE
logical variable, if TRUE the streamflow data are converted to runoff values in mm/day
magnification to be used for main titles relative to the current setting of cex
object of qUnit class printqUnitCheatSheet
, or numeric represented the short code, or character representing the descriptive name.
magnification to be used for axis annotation relative to the current setting of cex
numerical value giving the amount by which plotting symbols should be magnified
color of points on plot, see ?par 'Color Specification'
number line width. Default is 1.
arbitrary graphical parameters that will be passed to genericEGRETDotPlot function (see ?par for options)
plotFlowSingle
eList <- Choptank_eList
# \donttest{
# Water year:
plotFourStats(eList)
# Graphs consisting of Jun-Aug
eList <- setPA(eList,paStart=6,paLong=3)
plotFourStats(eList)
# }
Run the code above in your browser using DataLab