akq_globe: Global Summary of Count Tables from the Asquith-Knight...

Description Usage Arguments Value Author(s) See Also Examples

Description

Produce global summary of the count tables from Asquith–Knight discharge decay analyses returned by akqdecay for a sequence of USGS streamgage identification numbers contained within an R environment. This environment has already been populated by fill_akqenv. The counts of number of sites, total (cumulative record length of daily values [minus the lag used for akqdecay?]) and totals for increasing, decreasing, no change, and missing days are computed.

Usage

1
akq_globe(akqenv, silent=TRUE, ...)

Arguments

akqenv

The R environment previously populated by fill_akqenv. This argument can also be an R list directly from akqdecay; special accommodation is made;

silent

Suppress informative calls to message(); and

...

Additional arguments to pass (see source code to ascertain flexible usage).

Value

An R list containing the following for all of the streamgages.

counts

The number sites plus totals of the various counts (integers); and

percents

The conversion of the counts to percent where total_count is treated as the sum total.

Author(s)

W.H. Asquith

See Also

akq_counts

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
sites <- c("05403500", "05405000") # Two USGS streamgages in Wisconsin
WisExample <- new.env(); fill_dvenv( sites,              envir=WisExample,
                                     sdate="1945-01-01", edate="2014-12-31")
WisAKQ <- new.env(); fill_akqenv(dvenv=WisExample, envir=WisAKQ)
akq_globe(WisAKQ)
#$counts
# num_sites total_count decreases increases no_change NAs
#         2       43279     22122     15438      5710   9
#$percents
# num_sites pct_total_count pct_decreases pct_increase pct_nochange pct_NAs
#         2             100      51.11486     35.67088     13.19347 0.02080 #

wasquith-usgs/akqdecay documentation built on Nov. 9, 2020, 1:13 p.m.