boxplot_PoFD: Functional Boxplot for Partially Observed Functional Data

Description Usage Arguments Value References Examples

View source: R/boxplotPoFD.R

Description

Plots the Functional Boxplot for PoFD and returns the magnitud and domain outliers. Magnitude outliers in blue, a dotted red indicates that the outlier situation occurs in a region with less than fdom proportion of the central region.

Usage

1
boxplot_PoFD(data, centralRegion = 0.5, fmag = 1.5, fdom = 1)

Arguments

data

matrix p by n, being n the number of functions and p the number of grid points.

centralRegion

number between 0 and 1 determining the proportion of the deepest functions that builds the central region.

fmag

factor to enhance the functional central region and determine the functional whiskers. Default is equal to 1.5. The whiskers provide the rule to unmask magnitud outliers.

fdom

factor that provides the minimum proportion of functions in the available central region to consider a magnitude outlier as a domain outlier. A value equals to 0 determine as domain outlier a magnitude outlier if the central region is not available at all. A value equals to 1 determine as domain outlier any magnitude outlier out of the region where the central region is completely observed.

Value

a list with the functional boxplot for PoDF, the magnitude outliers and the domain outliers.

References

Sun, Y. and Genton, M. G. (2011). Functional boxplots. Journal of Computational & Graphical Statistics, 20(2):316–334.

Examples

1
# boxplot_PoFD(data, centralRegion = 0.5, fmag = 1.5, fdom = 1)

aefdz/depthPoFDA documentation built on Jan. 8, 2021, 10:16 p.m.