Learn R Programming

fdasrvf (version 2.0.0)

PhaseBoxplot: Phase Boxplot

Description

This function constructs the phase boxplot.

Usage

PhaseBoxplot(warp_median, alpha = 0.05, kp = 1, showplot = TRUE)

Value

Returns a phbox object containing:

  • median_x: median warping 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

Arguments

warp_median

fdawarp object from time_warping of aligned data using the median.

alpha

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

kp

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 <- PhaseBoxplot(simu_warp_median, showplot = FALSE)

Run the code above in your browser using DataLab