RHG_graph: Compute hydraulic geometry from graph

Description Usage Arguments Value Examples

View source: R/RHG_graph.R

Description

Computes hydraulic dimension (cross sectional area, width, or depth) from a built-in table of regional hydraulic curve graph coordinates.

Usage

1
RHG_graph(region, drainageArea, dimensionType)

Arguments

region

character; The region that a dimension will be calculated for. See the regional_curves$region field for a complete list.

drainageArea

numeric; The upstream drainage area of the location of the dimension (in square miles).

dimensionType

character; The dimension type: "area", "depth", "width"

Value

The value of the requested hydraulic dimension

Examples

1
2
3
4
5
# Calculate the cross sectional area for a watershed with drainage area = 1
# square mile in the Eastern United States region.
RHG_graph(region = "Eastern United States",
          drainageArea = 1,
          dimensionType = "area")

mpdougherty/RegionalCurve documentation built on Nov. 21, 2019, 8:45 p.m.