Learn R Programming

EGRET (version 2.3.0)

makeAnnualSeries: Produces annual series of 8 streamflow statistics (and a lowess smooth of them) from daily streamflow data

Description

Part of the flowHistory system. The data come from Daily and INFO data frames. Note that the function setPA must be run before this to establish the period of analysis (e.g. water year).

Usage

makeAnnualSeries(eList, edgeAdjust = TRUE)

Arguments

eList
named list with at least Daily and INFO dataframes
edgeAdjust
logical specifying whether to use the modified method for calculating the windows at the edge of the record. The modified method tends to reduce curvature near the start and end of record. Default is TRUE, but a logical in INFO$edgeAdjust will overrid

Value

  • annualSeries data frame that contains the annual series of streamflow statistics

Details

ll{ istat Name 1 minimum 1-day daily mean discharge 2 minimum 7-day mean of the daily mean discharges 3 minimum 30-day mean of the daily mean discharges 4 median of the daily mean discharges 5 mean of the daily mean discharges 6 maximum 30-day mean of the daily mean discharges 7 maximum 7-day mean of the daily mean discharges 8 maximum 1-day daily mean discharge }

Examples

Run this code
eList <- Choptank_eList
annualSeries <- makeAnnualSeries(eList)

Run the code above in your browser using DataLab