outliers {refund.shiny} | R Documentation |
Identifies outliers for plot_shiny.fosr()
Description
Internal method that assigns band depth values to curves based on exact fast MBD computation (Sun & Genton, 2012). Code modified from fbplot in fda package. A dataframe of residuals is passed as an argument, and depths and outlying curves are returned
Usage
outliers(data, factor = 1.5)
Arguments
data |
matrix or df of functional observations |
factor |
a constant that determines the fences for outliers. Defaults to 1.5, as in classical definition for Tukey outliers. |
Author(s)
Julia Wrobel jw3134@cumc.columbia.edu
References
Sun, Ying, Marc G. Genton, and Douglas W. Nychka. (2012). Exact fast computation of band depth for large functional datasets: How quickly can one million curves be ranked? Stat, 1, 68-74.
Sun, Ying, and Marc G. Genton. (2011). Functional boxplots. Journal of Computational and Graphical Statistics, 20, 313-334.