get_outliers_mfd {funcharts} | R Documentation |
Get outliers from multivariate functional data
Description
Get outliers from multivariate functional data
using the functional boxplot with the
modified band depth of Sun et al. (2011, 2012).
This function relies on the fbplot
function
of the roahd
package.
Usage
get_outliers_mfd(mfdobj)
Arguments
mfdobj |
A multivariate functional data object of class mfd |
Value
A numeric vector with the indexes of the functional observations signaled as outliers.
References
Sun, Y., & Genton, M. G. (2011). Functional boxplots. Journal of Computational and Graphical Statistics, 20(2), 316-334.
Sun, Y., & Genton, M. G. (2012). Adjusted functional boxplots for spatio-temporal data visualization and outlier detection. Environmetrics, 23(1), 54-64.
Examples
library(funcharts)
data("air")
air <- lapply(air, function(x) x[1:20, , drop = FALSE])
fun_covariates <- c("CO", "temperature")
mfdobj_x <- get_mfd_list(air[fun_covariates], lambda = 1e-2)
get_outliers_mfd(mfdobj_x)
[Package funcharts version 1.5.0 Index]