Learn R Programming

GET (version 0.1-3)

fBoxplot: Functional boxplot

Description

Functional boxplot based on central region computed by a specified measure. The options of the measures can be found in central_region.

Usage

fBoxplot(curve_sets, factor = 1.5, ...)

Arguments

curve_sets

A curve_set object or a list of curve_set objects.

factor

The constant factor to inflate the central region to produce a functional boxplot and determine fences for outliers. Default is 1.5 as in a classical boxplot.

...

Additional parameters to be passed to central_region, which is responsible for calculating the central region (global envelope) on which the functional boxplot is based.

Examples

Run this code
# NOT RUN {
if(requireNamespace("fda", quietly=TRUE)) {
  curve_set <- create_curve_set(list(r=as.numeric(row.names(fda::growth$hgtf)),
                                     obs=fda::growth$hgtf))
  plot(curve_set, ylab="height")
  bp <- fBoxplot(curve_set, coverage=0.50, type="area", factor=1)
  plot(bp)
}
# }

Run the code above in your browser using DataLab