Description Usage Arguments Value Examples
Calculate annual peak flow
1 | add_annual_peak_flow(flow.ts)
|
flow.ts |
numeric USGS flow time series |
flow.ts.pk numeric USGS annual peak flow
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.