Calculations are based on lsdepth algorithm written by Ch. Muller.
Examples
# EXAMPLE 1# F-distributiondcont <- lsdSampleDepthContours(rf(200,4,7))plot(dcont)# EXAMPLE 2# normal distribution - more contours calculateddcont_norm <- lsdSampleDepthContours(rnorm(100), seq(0.05,0.4,0.05))plot(dcont_norm)
References
Mizera, I., Muller, C. H., 2004. Location-scale depth (with discussion). Journal of the American Statistical Association 99, 949--966.