peelZeHull: Create a peeled convex hull for a set of points described by...

peelZeHullR Documentation

Create a peeled convex hull for a set of points described by 2 variables.

Description

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.

Usage

peelZeHull(data_matrix, x_axis = 1, y_axis = 2, percentage = 0.66)

Arguments

data_matrix

an item by variables data,frame or matrix.

x_axis

column number for the first variable. Default = 1

y_axis

column number for the second variable. Default = 2

percentage

proportion of the convexHull to keep, Default: .66

Value

a dataframe with the coordinates of the peeled convex hull.

Author(s)

Herve Abdi

References

for a reference for the code for peeling the convex hull see: Greenacre, M. J. (2007). Correspondence Analysis in Practice. Chapman and Hall.

Examples

## Not run: 
if(interactive()){
 #EXAMPLE1
 }

## End(Not run)

HerveAbdi/PTCA4CATA documentation built on July 17, 2022, 5:41 a.m.