central_region: Depth-Based Central Region

View source: R/depth_object.R

central_regionR Documentation

Depth-Based Central Region

Description

Returns the set of observations whose depth is at or above the alpha-th quantile of the depth distribution — the multivariate analog of a quantile interval.

Usage

central_region(x, alpha = 0.5, ...)

Arguments

x

A depth object from compute_depth().

alpha

Numeric scalar in (0, 1). The central region contains the deepest 1 - alpha fraction of observations. Default 0.50 (the inner half).

...

Ignored.

Value

A named list:

indices

Row indices of observations in the central region.

points

Matrix of observations in the central region.

depths

Depth values of those observations.

threshold

The depth cutoff used.

alpha

The alpha level used.


depthR documentation built on June 26, 2026, 5:07 p.m.