| visualize_vtrapz | R Documentation |
vtrapz() and cumvtrapz()Visualize (cumulative) average vertical height of trapezoidal integration.
visualize_vtrapz(
x,
y,
x_smooth,
y_smooth,
xlabs,
ylabs,
yname,
draw.rect,
draw.v,
label.v,
draw.cumv,
label.cumv,
...
)
## S3 method for class 'numeric'
visualize_vtrapz(
x,
y,
x_smooth = x,
y_smooth = y,
xlabs,
ylabs,
yname,
draw.rect = TRUE,
draw.v = draw.rect,
label.v = "Average Vertical Height",
draw.cumv = TRUE,
label.cumv = "Cumulative Average Vertical Height",
...
)
## S3 method for class 'fv'
visualize_vtrapz(x, ...)
## S3 method for class 'listof'
visualize_vtrapz(x, ...)
## S3 method for class 'density'
visualize_vtrapz(x, ...)
## S3 method for class 'stepfun'
visualize_vtrapz(x, ...)
## S3 method for class ''function''
visualize_vtrapz(x, ..., n = 513L)
## S3 method for class 'loess'
visualize_vtrapz(x, ..., n = 513L)
## S3 method for class 'smooth.spline'
visualize_vtrapz(x, ..., n = 513L)
## S3 method for class 'ksmooth'
visualize_vtrapz(x, ...)
## S3 method for class 'spline'
visualize_vtrapz(x, ..., n = 513L)
## S3 method for class 'xyVector'
visualize_vtrapz(x, ...)
x |
see Usage |
y |
numeric vector |
x_smooth, y_smooth |
numeric vectors,
smoothed |
xlabs, ylabs |
functions |
yname |
(optional) character scalar, name of the function |
draw.rect |
logical scalar,
whether to plot the rectangle, default |
draw.v |
logical scalar,
whether to plot the average vertical height |
label.v, label.cumv |
character scalars |
draw.cumv |
logical scalar, whether to plot the cumulative average vertical height |
... |
additional parameters, currently of no use |
n |
integer, number of |
The S3 generic function visualize_vtrapz() returns a ggplot object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.