Learn R Programming

EGRET (version 2.3.0)

tableResults: Table of annual results for discharge, concentration and flux

Description

Produce an ASCII table showing: year, mean discharge, mean concentration, flow-normalized concentration, mean flux, and flow-normalized flux.

Usage

tableResults(eList, qUnit = 2, fluxUnit = 9)

Arguments

eList
named list with at least 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.

Value

  • results dataframe, if returnDataFrame=TRUE dataframe with year, discharge, concentration, flow-normalized concentration, flux, and flow-normalized concentration columns.

Examples

Run this code
eList <- Choptank_eList
# Water Year:
tableResults(eList, fluxUnit = 1)
tableResults(eList, fluxUnit = 'kgDay', qUnit = 'cms')
returnedTable <- tableResults(eList, fluxUnit = 1)
# Winter:
eList <- setPA(eList, paLong=3,paStart=12)
tableResults(eList, fluxUnit = 1)

Run the code above in your browser using DataLab