Description Usage Arguments Examples
Segment estimates
1 | estFNsegs(eList, dateInfo)
|
eList |
named list with at least the Daily, Sample, and INFO dataframes |
dateInfo |
dataframe with sampleSegStart, flowSegStart, flowSegEnd, sampleSegEnd |
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,])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.