Learn R Programming

EGRET (version 2.3.0)

estDailyFromSurfaces: Estimates all daily values of Concentration, Flux, Flow-Normalized Concentration, and Flow Normalized Flux

Description

Uses the surfaces estimated in estSurfaces to estimate these four time series in addition to the time series for standard error and yHat (estimated log concentration). The results are stored in an augmented version of the Daily data frame, which is returned as part of an EGRET object.

Usage

estDailyFromSurfaces(eList)

Arguments

eList
named list with at least the Daily and INFO dataframes, and the surface matrix

Value

  • egret object with altered Daily dataframe

Examples

Run this code
eList <- Choptank_eList
#################################################
# This is usually done in modelEstimation:
Daily <- getDaily(eList)
surfaceIndexParameters<-surfaceIndex(Daily)
INFO <- eList$INFO
INFO$bottomLogQ<-surfaceIndexParameters[1]
INFO$stepLogQ<-surfaceIndexParameters[2]
INFO$nVectorLogQ<-surfaceIndexParameters[3]
INFO$bottomYear<-surfaceIndexParameters[4]
INFO$stepYear<-surfaceIndexParameters[5]
INFO$nVectorYear<-surfaceIndexParameters[6]
eList$INFO <- INFO
#################################################
Daily <- estDailyFromSurfaces(eList)

Run the code above in your browser using DataLab