This function computes the Half-Region Depth (HRD) of elements of a univariate functional dataset.

1 2 3 4 5 6 7 |

`Data` |
either an |

Given a univariate functional dataset, *X_1(t), X_2(t), …, X_N(t)*,
defined over a compact interval *I=[a,b]*, this function computes the HRD
of its elements, i.e.:

*HRD(X(t)) = \min( EI( X(t) ), HI(X(t)) ),*

where *EI(X(t))* indicates the Epigraph Index (EI) of *X(t)* with
respect to the dataset, and *HI(X(t))* indicates the Hypograph Index of
*X(t)* with respect to the dataset.

The function returns a vector containing the values of HRD for each
element of the functional dataset provided in `Data`

.

Lopez-Pintado, S. and Romo, J. (2012). A half-region depth for functional
data, *Computational Statistics and Data Analysis*, 55, 1679-1695.

Arribas-Gil, A., and Romo, J. (2014). Shape outlier detection and
visualization for functional data: the outliergram, *Biostatistics*,
15(4), 603-619.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.