Description Usage Arguments Value Author(s) See Also Examples
Extract the raw computations from output of akqdecay
and place the results into an R data.frame
. This function will insert a row of NA
's into the returned table of the changes from one streamgage to the next using the built-in R rbind()
function. The inserted line will look something like row 9069:
1 2 3 4 |
By providing this NA
, as shown, graphical operations on the table will be able to “lift the pen” when the successive streamgage is encountered.
1 2 |
akqenv |
The R |
NAline.insert |
A logical that can be used to suppress the |
type |
What type of table is sought? The |
silent |
Suppress informative calls to |
... |
Additional arguments to pass (see source code to ascertain flexible usage). |
An R data.frame
containing the counts for each streamgage.
site |
The streamgage identification number; |
wyear |
The water year; |
year |
The calendar year; |
month |
The month; |
decade |
The decade of the calendar year; |
date |
The date of the “tomorrow” streamflow (forward bias); |
fdc |
The nonexceedance probability from the flow-duration curve for the period of record; |
fqc |
The “tomorrow” streamflow for the date; |
days_per_log |
Days per log cycle change of streamflow and dependent on the setting for |
pp_days_per_log |
Weibull plotting position of |
W.H. Asquith
1 2 3 4 5 6 7 8 9 10 | 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)
TAB <- akq_table(WisAKQ); TAB$color <- as.numeric(as.factor(TAB$site))+1
plot(qnorm(TAB$pp_days_per_log), TAB$days_per_log, type="p", col=TAB$color,
cex=0.6, log="y", xlab="Standard Normal Variate", ylab="days per log-cycle")
plot(TAB$date, TAB$days_per_log, log="y", type="p",
col=TAB$color, xlim=as.Date(c("1960-01-01", "1960-06-01"))) #
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.