lsdAddContour-methods: Adds location scale depth contour to the existing plot.

Description Usage Arguments Examples

Description

This function add one location-scale contour to the existing plot.

Usage

1
2
3
4
lsdAddContour(x, cont = NULL, ...)

## S4 method for signature 'LSDepthContour'
lsdAddContour(x, cont = NULL, ...)

Arguments

x

object of class LSDepthContour

cont

depth of contour to plot

...

other arguments passed to polygon function

Examples

1
2
3
4
5
smp <- rf(100, 5, 10)
x <- lsdSampleDepthContours(smp)
plot(x)
lsdAddContour(x, 0.1, col = "grey50")
lsdAddContour(x, 0.3, col = "grey10", border = "red", lwd = 4)

zzawadz/DepthProc documentation built on Feb. 4, 2022, 8:39 p.m.