Learn R Programming

fdasrvf (version 2.0.0)

AmplitudeBoxplot: Amplitude Boxplot

Description

This function constructs the amplitude boxplot.

Usage

AmplitudeBoxplot(warp_median, alpha = 0.05, ka = 1, showplot = TRUE)

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

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)

showplot

shows plots of functions (default = T)

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.

Examples

Run this code
data(simu_warp_median)
out <- AmplitudeBoxplot(simu_warp_median, showplot = FALSE)

Run the code above in your browser using DataLab