Learn R Programming

fdasrvf (version 1.9.4)

PhaseBoxplot: Phase Boxplot

Description

This function constructs the amplitude boxplot

Usage

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

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)

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

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
# NOT RUN {
data("simu_warp_median")
out <- PhaseBoxplot(simu_warp_median, showplot=FALSE)
# }

Run the code above in your browser using DataLab