Description Usage Arguments Value Author(s) Examples
View source: R/HUCTS_aggregator.R
Aggregate time series data for a collection of HUCs
1 | HUCTS_aggregator(upstream_size, fromHUC, huc12_areaDF, huc12agg_areaDF, dataF)
|
upstream_size |
Named integer list of the number of upstream HUCs for each huc. |
fromHUC |
Named list of lists containing the HUCs that flow into each HUC. |
huc12_areaDF |
Data frame with a single observation of area for each local HUC. |
huc12agg_areaDF |
Data fame with a single observation of area for each aggregated HUC. |
dataF |
Data Frame with a set of observations for each local HUC. |
dataF Data Frame with the set of observations aggregated upstream using a weighted average.
David Blodgett dblodgett@usgs.gov
1 2 3 4 5 | ## Not run:
load(system.file("extdata","HUCTS_aggregator_test.rda",package="HUCAgg"))
outData<-HUCTS_aggregator(upstream_size,fromHUC,huc12_areaDF,huc12agg_areaDF,dataF)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.