powered by
This function creates a daily time series formatted for use with the functions in this package.
create.ts(Flows, hyrstart = 10)
Returns a data.frame with year, month, doy, and hyear columns appended to the original input data.frame.
Data.frame containing daily streamflow time series loaded with the read.flows function.
read.flows
define start month of hydrologic year. Defaults to 10 (October).
Jennifer Dierauer
data(caniapiscau) # subset flow series for shorter example run time caniapiscau.sub <- caniapiscau[300:1800,] caniapiscau.sub.ts <- create.ts(caniapiscau.sub)
Run the code above in your browser using DataLab