Description Usage Arguments Value Author(s) See Also Examples
Fill an R environment
with R data.frames
of monthly streamflow for USGS streamgages. This function is a wrapper (abstraction layer) on the mnget
function. Users interested in monthly values might be especially interested in the monthly computations based on the daily streamflows but with the inclusion of separated streamflow in dvpart
and fill_dvpartenv
(see Examples in dvpart
for a demonstration).
1 2 3 |
siteNumbers |
A vector of USGS streamgage identification numbers; |
envir |
The R |
sdates |
A vector of starting dates (possibly unique by streamgage) to feed the similarly named argument of |
edates |
A vector of ending dates (possibly unique by streamgage) to feed the similarly named argument of |
flowlos |
A vector of lower streamflow thresholds (likely unique by streamgage) to feed the similar named argument of |
flowhis |
A vector of upper streamflow thresholds (likely unique by streamgage) to feed the similar named argument of |
silent |
Suppress informative calls to |
... |
Additional arguments to pass to control |
An R environment
is returned.
W.H. Asquith
1 2 3 4 5 6 7 | ## Not run:
# Six USGS streamgages of the Wolf River in Tennessee
wolfriver <- c("07030392", "07030500", "07031650",
"07031660", "07031700", "07031740")
wolf.env <- new.env() # the standard declaration of an environment
fill_mnenv(wolfriver, envir=wolf.env) # wolf.env now filled with six tables.#
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.