create.ts: Create a Time Series of daily streamflow observations

Description Usage Arguments Value Author(s) Examples

View source: R/create.ts.r

Description

This function creates a daily time series formatted for use with the functions in this package.

Usage

1
create.ts(Flows, hyrstart = 10)

Arguments

Flows

Data.frame containing daily streamflow time series loaded with the read.flows function.

hyrstart

define start month of hydrologic year. Defaults to 10 (October).

Value

Returns a data.frame with year, month, doy, and hyear columns appended to the original input data.frame.

Author(s)

Jennifer Dierauer

Examples

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)

Example output



FlowScreen documentation built on May 2, 2019, 1:09 p.m.