xs_area | R Documentation |
Calculate area of a cross-section using the trapezoidal rule for integration. By default, uses the columns "TAPE" for measurement across xs, "InvertRod" for depth relative to y = 0, and "Bankful" for baseline measurement.
xs_area(data, tape, depth, baseline, sum_area = TRUE)
data |
A data.frame of cross-section data |
tape |
A column from |
depth |
A column from |
baseline |
A column from |
sum_area |
A logical (default |
A Double of the cross-sectional area compared to a baseline
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.