convex_hull_plot: Convex hull plot for two dimensional data

Description Usage Arguments Value Note Author(s) References See Also Examples

View source: R/convex_hull_plot.R

Description

The function generates a plot of the convex hull from two dimensional scatter data.

Usage

1
convex_hull_plot(x, y, col=1, lwd = 1)

Arguments

x

The x coordinates of the scatter data.

y

The y coordinates of the scatter data.

col

The color for the lines defining the convex hull in the plot.

lwd

The line width of the convex hull.

Value

The function does not return any values.

Note

This in an auxiliary function to generate plots of the confidence regions based on simplicial depth for two paramteter models.

Author(s)

Kustosz, Christoph

References

http://stats.stackexchange.com/questions/11919/convex-hull-in-r

See Also

lin2_CI,convex_hull_intersect

Examples

1
2
3
4
x <- rnorm(10)
y <- rnorm(10)
plot(x, y)
convex_hull_plot(x, y, col=2)

ChrisKust/rexpar documentation built on May 6, 2019, 11:48 a.m.