Learn R Programming

EGRET (version 2.3.0)

flexFN: Flexible Flow Normalization

Description

Flexible Flow Normalization

Usage

flexFN(eList, nSegments, segStart, segEnd, dStart, dEnd)

Arguments

eList
named list with at least the Daily, Sample, and INFO dataframes
nSegments
integer number of flow normalized segments to create
segStart
integer vector of start years (water) for each FN conc/flux segment
segEnd
integer vector of end years (water) for each FN conc/flux segment
dStart
Date vector of start days for each flow segment
dEnd
Date vector of end days for each flow segment

Examples

Run this code
eList <- Choptank_eList
eList <- setUpEstimation(eList)
nSegments <- 2
segStart <- c(1985,2000)
segEnd <- c(2001,2010)
dStart <- as.Date(c("1988-10-01","2002-05-15"))
dEnd <- as.Date(c("1998-09-30","2009-09-30"))
eList <- flexFN(eList,nSegments,segStart,segEnd,dStart,dEnd)
plotFluxHist(eList)

Run the code above in your browser using DataLab