Description Usage Arguments Value Examples
For seasonal streamflow "hindcasts" based solely on persistence.
1 |
Q |
time series object - seasonal streamflow rate or streamflow totals. |
H |
integer giving the number of seasons in the forecast horizon (e.g., H = 3 means a three month forecast if the frequency of Q is 12). |
start_yr |
start year for the forecast to be generated. |
end_yr |
end_year (if omitted, forecast will be for last year of input) |
k |
integer. The k parameter of the kNN Bootstrap (i.e., number of nearest neighbors from which to sample). If left blank k = n ^ 0.5., where n is the number of years in the input data. |
d |
integer. The d parameter of the kNN Bootstrap (i.e., number of previous time periods to inform the model). If left blank d = 1. |
sampling_mode |
used to define period of observed streamflow data (Q) from which to sample the forecasts. "past" will use the period of data prior to the forecast start year. "all" will use all data within Q. "adapt" (the default) updates the sample each year to all years prior to forecast release. |
plot |
logical. If TRUE (the default) the function will return a plot of the forecasts against observed flow during the period start_yr : end_yr. |
Returns the critical drawdown period of the reservoir, giving the shortest time from full to empty by default.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.