edepth: Compute the extremal depth of a function 'g' with respect to...

Description Usage Arguments Value Note

Description

Compute the extremal depth of a function g with respect to a set of functions fmat

Usage

1
edepth(g, fmat, depth_function = "standard")

Arguments

g

Vector. Function that you want to find the extremal depth of.

fmat

Matrix of functions. Each column is a function.

depth_function

either "standard" (default) or "rank". Standard orders functions from the center outward and rank orders least to greatest.

Value

The extremal depth value as a real number.

Note

g and fmat should have the same number of observations for each function. Furthermore functions should be sampled at the same time points.


trevor-harris/extdepth documentation built on May 23, 2019, 4:06 a.m.