gage_boxes: Create Gage Boxes

Description Usage Arguments Value

View source: R/gage_boxes.R

Description

Create a data frame of gage boxes used by the longitudinal profile plot to symbolize the location of gages and the stage elevations.

Usage

1
gage_boxes(gage_locations, stage_interval_box, box_width)

Arguments

gage_locations

data frame; A data frame of gage locations. See package dataset for example.

stage_interval_box

numeric; The interval used for drawing tick marks on gage boxes (units: feet).

box_width

numeric; The width of the gage box (units: river miles)

Value

A data frame of dimensions used by the 'razviz' longitudinal profile plot to draw gage boxes.


mpdougherty/razviz documentation built on April 1, 2021, 4:16 p.m.