lsdGetContour-methods: Get location-scale contour from LSDepthContour object.

Description Usage Arguments Details Examples

Description

Get numeric values of the location-scale depth contour from existing object of LSDepthContour class.

Usage

1
2
3
4
lsdGetContour(x, cont)

## S4 method for signature 'LSDepthContour'
lsdGetContour(x, cont)

Arguments

x

object of class LSDepthContour

cont

single numeric — depth of contour to return

Details

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

Examples

1
2
3
4
5
6
7
8
dcont <- lsdSampleDepthContours(rf(200, 4, 7), depth = c(0.1, 0.2))

# get contour that is present in dcont object
lsdGetContour(dcont, 0.1)

# get contour that is not present in dcont
# it will be automatically calculated
lsdGetContour(dcont, 0.3)

DepthProc documentation built on Feb. 4, 2022, 1:07 a.m.