peelZeHull | R Documentation |
peelZeHull
computes a peeled convex hull for a set of points
described by 2 variables. Function taken from
the function ExPosition::peeledHull
which, in turn,
got its inspiration from Michael Greenacre's package CA
.
The original code can be found at
http://carme-n.org/?sec=code2.
peelZeHull(data_matrix, x_axis = 1, y_axis = 2, percentage = 0.66)
data_matrix |
an item by variables data,frame or matrix. |
x_axis |
column number for the first variable.
|
y_axis |
column number for the second variable.
|
percentage |
proportion of the convexHull to keep, Default: .66 |
a dataframe with the coordinates of the peeled convex hull.
Herve Abdi
for a reference for the code for peeling the convex hull see: Greenacre, M. J. (2007). Correspondence Analysis in Practice. Chapman and Hall.
## Not run: if(interactive()){ #EXAMPLE1 } ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.