HI {ehymet} | R Documentation |
Hypograph Index (HI) for a functional dataset
Description
The Hypograph Index of a curve x is the proportion of curves in the sample that are below x.
Usage
HI(curves, ...)
Arguments
curves |
|
... |
Ignored. |
Value
numeric vector
containing the HI for each curve.
Examples
x <- matrix(c(1, 2, 3, 3, 2, 1, 5, 2, 3, 9, 8, 7), ncol = 3, nrow = 4)
HI(x)
y <- array(c(1, 2, 3, 3, 2, 1, 5, 2, 3, 9, 8, 7, -1, -5, -6, 2, 3, 0, -1, 0, 2, -1, -2, 0),
dim = c(3, 4, 2)
)
HI(y)
[Package ehymet version 0.1.0 Index]