Description Usage Arguments Value Author(s) Examples
This function creates a daily time series formatted for use with the functions in this package.
1 | create.ts(Flows, hyrstart = 10)
|
Flows |
Data.frame containing daily streamflow time series loaded
with the |
hyrstart |
define start month of hydrologic year. Defaults to 10 (October). |
Returns a data.frame with year, month, doy, and hyear columns appended to the original input data.frame.
Jennifer Dierauer
1 2 3 4 | data(caniapiscau)
# subset flow series for shorter example run time
caniapiscau.sub <- caniapiscau[300:1800,]
caniapiscau.sub.ts <- create.ts(caniapiscau.sub)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.