lsdSampleDepthContours: Calculate sample Mizera and Muller Student depth contours

Description Usage Arguments Details References Examples

Description

Calculate sample Mizera and Muller Student depth contours

Usage

1
lsdSampleDepthContours(x, depth = c(0.1, 0.2, 0.3, 0.4), lengthmu = 1000)

Arguments

x

one dimensional vector with sample

depth

depth level for contours

lengthmu

number of points to evalute depth

Details

Calculations are based on lsdepth algorithm written by Ch. Muller.

References

Mizera, I., Muller, C. H., 2004. Location-scale depth (with discussion). Journal of the American Statistical Association 99, 949-966.

Examples

1
2
3
4
5
6
7
8
## EXAMPLE 1 for F-distribution
dcont = lsdSampleDepthContours(rf(200,4,7))
plot(dcont)

## EXAMPLE 2 for normal distribution
## - more contours calculated
dcont_norm = lsdSampleDepthContours(rnorm(100),seq(0.05,0.4,0.05))
plot(dcont_norm)

DepthProc documentation built on May 2, 2019, 6:22 p.m.