setPA: Sets up the period of analysis

Description Usage Arguments Value Examples

Description

Period of analysis is defined by the starting month (paStart) and length in months (paLong). paStart and paLong are constrained to be integers from 1 to 12. for example, a water year would be paStart = 10 and paLong = 12. for example, the winter season, defined by Dec,Jan,Feb would be paStart = 12 and paLong =3.

Usage

1
setPA(eList, paStart = 10, paLong = 12, window = 20)

Arguments

eList

named list with at least the INFO dataframe

paStart

A numeric value for the starting month of the Period of Analysis, default is 10

paLong

A numeric value for the length of the Period of Analysis in months, default is 12

window

A numeric value for the half-width of a smoothing window for annual streamflow values, default is 20

Value

eList named list at least the INFO dataframe, along any other part of the list that was input. Any of these values can be NA, not all EGRET functions will work with missing parts of the named list eList.

Examples

1
2
eList <- Choptank_eList
eList <- setPA(eList, paStart=12, paLong=3)


Search within the EGRET package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.