combineStreamflow: Combines streamflow records to estimate total flows

Description Usage Arguments Value Examples

Description

This function combines streamflow data from multiple gages, averaging records according to a multiplier list

Usage

1
combineStreamflow(flowlist, mult, approx = FALSE)

Arguments

flowlist

list of flow data, output of getStreamflow or gapfillStreamflow

mult

list of multipliers, one for each gage

approx

option to interpolate missing values

Value

total flow for each timestep (as xts)

Examples

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))

CityWaterBalance documentation built on May 2, 2019, 6:32 a.m.