Create a boundary polygon corresponding nominally to the effective probability density support of a bivariate dataset via an interactive graphical interface and mouse (or, possibly, touchpad) posititionings and button clicks.
Usage
createBoundary(x,y)
Value
A two-column matrix containing the vertices of the selected
boundary polygon.
Arguments
x
vector containing the x-coordinates of a bivariate dataset.
y
vector containing the y-coordinates of a bivariate dataset.
After the bivariate dataset is displayed on the screen a boundary polygon is selected by performing left mouse (or, possibly, touchpad) clicks on the screen to specify vertex positions, and then moving around in a clockwise direction until the polygon is completed. Completion is achieved by clicking inside the red octagon surrounding the starting vertex.