curve_boxplot {fdasrvf} | R Documentation |
Curve Boxplot
Description
This function computes the required statistics for building up a boxplot of the aligned curve data. The computed boxplot focuses on the aligned curves.
Usage
curve_boxplot(
x,
alpha = 0.05,
range = 1,
what = c("stats", "plot", "plot+stats"),
...
)
Arguments
x |
An object of class |
alpha |
A numeric value specifying the quantile value. Defaults to
|
range |
A positive numeric value specifying how far the plot whiskers
extend out from the box. The whiskers extend to the most extreme data point
which is no more than |
what |
A string specifying what the function should return. Choices are
|
... |
Unused here. |
Details
The function returns optionally an object of class either
curvebox
Value
If what
contains stats
, a list containing the computed statistics
necessary for drawing the boxplot. Otherwise, the function simply draws the
boxplot and no object is returned.
Examples
## Not run:
out <- curve_srvf_align(beta[, , 1, ], ms="median")
curve_boxplot(out, what = "stats")
## End(Not run)