Description Usage Arguments Value Examples
View source: R/combineStreamflow.R
This function combines streamflow data from multiple gages, averaging records according to a multiplier list
1 | combineStreamflow(flowlist, mult, approx = FALSE)
|
flowlist |
list of flow data, output of getStreamflow or gapfillStreamflow |
mult |
list of multipliers, one for each gage |
approx |
option to interpolate missing values |
total flow for each timestep (as xts)
1 2 3 4 | gages <- c('05551540', '05552500')
flow <- getStreamflow('2000-01-01', '2010-12-31', gages)
flow <- gapfillStreamflow(flow, list(c(gages[1], gages[2])))
flow <- combineStreamflow(flow, c(0.5, 0.5))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.