add_annual_peak_flow: add_annual_peak_flow

Description Usage Arguments Value Examples

View source: R/flow_stats.R

Description

Calculate annual peak flow

Usage

1

Arguments

flow.ts

numeric USGS flow time series

Value

flow.ts.pk numeric USGS annual peak flow

Examples

1
2
3
4
5
6
7
8
9
## Not run: library(dataRetrieval)
site_id <- '05114000'
parameterCd <- '00060'
startDate <- "2014-10-01"
endDate <- "2015-09-30"
flow.ts <- readNWISuv(site_id, parameterCd, startDate, endDate)
peak_flow <- add_annual_median_flow(flow.ts)

## End(Not run)

USGS-R/trainR documentation built on May 6, 2019, 10:12 a.m.