View source: R/areaVolumeHysteresisPlot.R
areaVolumeHysteresisPlot | R Documentation |
Plots area-volume hysteresis curves of total water area against volume
areaVolumeHysteresisPlot( curve1, curve2, extend = TRUE, normalize = TRUE, outfile = "", N = 1 )
curve1 |
Required. Data frame containing the filling curve. |
curve2 |
Required. Data frame containing the emptying curve. |
extend |
Optional. Should curves extend to origin? Default is |
normalize |
Optional. Should areas and volumes be divided by their maximum values? Default is |
outfile |
Optional. File name for output of line segments. If not specified (the default), the data are not ouput. |
N |
Optional. Plot arrows every Nth point. Default is 1. |
Returns a ggplot2 object of the area vs volume. The line segments are written to a file (if specified).
## Not run: p <- areaVolumeHysteresisPlot(curve1, curve2) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.