xs_ribbon | R Documentation |
xs_area()
creates an area plot of the cross-section, using
ggplot2::geom_ribbon()
. Currently, small inaccuracies exist if the
channel bed crosses the y-intercept created by baseline
, but this
function is for visualization only. This will (hopefully) be fixed in a
future version of this package.
xs_ribbon( .data, x_cor = "TAPE", depth = "InvertRod", baseline = "Bankful", ... )
.data |
A data.frame of cross-section data |
x_cor |
A column of x-coordinates (default, TAPE) |
depth |
A column of rod readings, relative to 0 (i.e. >0) (default, InvertRod) |
baseline |
A column of baseline readings (default, Bankful) |
... |
Other arguments passed on to methods. |
An object of class ggplot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.