Description Usage Arguments Value Note Author(s) References See Also Examples
View source: R/convex_hull_plot.R
The function generates a plot of the convex hull from two dimensional scatter data.
1 | convex_hull_plot(x, y, col=1, lwd = 1)
|
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. |
The function does not return any values.
This in an auxiliary function to generate plots of the confidence regions based on simplicial depth for two paramteter models.
Kustosz, Christoph
http://stats.stackexchange.com/questions/11919/convex-hull-in-r
1 2 3 4 | x <- rnorm(10)
y <- rnorm(10)
plot(x, y)
convex_hull_plot(x, y, col=2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.