smoothUnchull | R Documentation |
Get a hull of input set of points. The hull can be non-convex.
smoothUnchull(x, y, nbin = 100, nsm = 10, addsm = 1, qval = 0.95, sfac = 1.5)
x |
a vector of x coordinates |
y |
a vector of y coordinates |
nbin |
number of points used to shape the hull, default 100 |
nsm |
number of points used to perform convolution, should less than |
addsm |
number of additional times of convolution performed, default 1 |
qval |
quantile of each sector, used to determine the edge of the hull, should less than 1, default 0.95 |
sfac |
expansion size factor, larger value means bigger hull, default 1.5 |
a list of coordinates of the hull
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.