as.egret: Create named list for EGRET analysis

Description Usage Arguments Value See Also Examples

View source: R/egret_objects.R

Description

Create a named list with the INFO, Daily, and Sample dataframes, and surface matrix. If any of these are not available, an NA should be

Usage

1
as.egret(INFO, Daily, Sample = NA, surfaces = NA)

Arguments

INFO

dataframe containing the INFO dataframe

Daily

dataframe containing the daily data

Sample

dataframe containing the sample data

surfaces

matrix returned from modelEstimation. Default is NA.

Value

eList named list with Daily, Sample, and INFO dataframes, along with the surfaces matrix. Any of these values can be NA, not all EGRET functions will work with missing parts of the named list eList.

See Also

readNWISDaily, readNWISSample

Examples

1
2
3
4
5
6
7
8
9
eList <- Choptank_eList
Daily <- getDaily(eList)
INFO <- getInfo(eList)
eList_flowHistory <- as.egret(INFO, Daily)
plotFlowSingle(eList_flowHistory, 1)
Sample <- getSample(eList)
surfaces <- getSurfaces(eList)
eList_full <- as.egret(INFO, Daily, Sample, surfaces)
plotFluxQ(eList_full)

EGRET documentation built on Jan. 25, 2022, 5:08 p.m.