View source: R/region_dimension_graph.R
region_dimension_graph | R Documentation |
Creates a Regional Hydraulic Dimension graph for the regions provided for the specified dimension.
region_dimension_graph(
regions,
dimension_type = c("area", "depth", "width", "discharge")
)
regions |
character; A vector of region names that will be displayed on the graph. For a complete list of regions, see levels(regional_curve$region_name) RegionalCurve::regional_curve$region_name. |
dimension_type |
character; Dimension type: "area", "depth", "width", "discharge" |
Creates a regional hydraulic dimension graph styled using conventions that have emerged in the fluvial geomorphic literature:
Drainage Area as the independent variable on the x-axis. Units are expressed in imperial units (square miles).
Hydraulic dimensions (i.e., width, depth, cross sectional area, discharge) as the dependent variables on the y-axis. Units are expressed in imperial units(i.e, width: feet, depth: feet, cross sectional area: square feet, discharge: cubic feet per second).
Both axes on log scale (aka "log-log graph").
A ggplot object.
Other visualizations:
region_graph()
regions = c("Minnesota Eastern", "Minnesota Western")
dimension_type = "width"
region_dimension_graph(regions, dimension_type)
region_dimension_graph(regions, "depth")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.