estFNsegs: Segment estimates

Description Usage Arguments Examples

Description

Segment estimates

Usage

1
estFNsegs(eList, dateInfo)

Arguments

eList

named list with at least the Daily, Sample, and INFO dataframes

dateInfo

dataframe with sampleSegStart, flowSegStart, flowSegEnd, sampleSegEnd

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
library(EGRET)
eList <- Choptank_eList
eList <- setUpEstimation(eList)
sampleSegStart <- c(1980,1990,2000)
flowSegStart <- c(1980,1985,1992)
flowSegEnd <- c(1994,2004,2011)
dateInfo <- dateInfo <- data.frame(sampleSegStart, flowSegStart, flowSegEnd)
dateInfo$sampleSegEnd <- c(dateInfo$sampleSegStart[2:nrow(dateInfo)]-1,floor(max(eList$Sample$DecYear)))
Daily <- calcWY(eList$Daily)
Sample <- calcWY(eList$Sample)
eList <- as.egret(eList$INFO,Daily,Sample,eList$surfaces)
eList <- estFNsegs(eList,dateInfo[1,])

USGS-R/EGRETextra documentation built on May 9, 2019, 6:08 p.m.