ch_cut_block {CSHShydRology}R Documentation

Extracts a specified time period from a longer record

Description

The function could also be used to get the same period of time from several station for comparison.

Usage

ch_cut_block(DF, st_date, end_date)

Arguments

DF

A daily streamflow data frame as from ch_read_ECDE_flows

st_date

starting date format is %Y/%m/%d

end_date

ending date format is %Y/%m/%d

Value

Returns a portion of the original dataframe.

Author(s)

Paul Whitfield

Examples

data(CAN05AA008)
subset <- ch_cut_block(CAN05AA008,"2000/01/01", "2010/12/31")

[Package CSHShydRology version 1.3.0 Index]