ampbox_data: Amplitude Boxplot Data

View source: R/boxplot.R

ampbox_dataR Documentation

Amplitude Boxplot Data

Description

This function constructs the amplitude boxplot.

Usage

ampbox_data(warp_median, alpha = 0.05, ka = 1)

Arguments

warp_median

fdawarp object from time_warping() of aligned data using the median

alpha

quantile value (default=.05, i.e., 95%)

ka

scalar for outlier cutoff (default=1)

Value

Returns an ampbox object containing:

  • median_y: median function

  • Q1: First quartile

  • Q3: Second quartile

  • Q1a: First quantile based on alpha

  • Q3a: Second quantile based on alpha

  • minn: minimum extreme function

  • maxx: maximum extreme function

  • outlier_index: indexes of outlier functions

  • fmedian: median function

  • alpha, ka: the quantile level and whisker scale used

  • r50, ralpha: distances bounding the 50% and (1-\alpha) central regions

  • whisker_dis: whisker (outlier cutoff) distance

  • template: what classify() needs to align new functions to the template

References

Xie, W., S. Kurtek, K. Bharath, and Y. Sun (2016). "A geometric approach to visualization of variability in functional data." Journal of the American Statistical Association in press: 1-34.


fdasrvf documentation built on Oct. 29, 2026, 9:06 a.m.