Suppose I have a irregular, random, shape generated from a dataset. How do I find points that are situated on the shape's border?
I am using R. Are there any packages in R for this purpose? For simplicity, just assume that I have a 2d dataset of points.
You are looking for the
chull()
function to compute the convex hull of a 2D object, in package grdevices.Here is the example from the online help: