Given a set of coordinates, identify each cluster of adjacent pixels and draw the convex hull.
1 | draw.outlines(px, im.dim = c(2048, 2048), ...)
|
px |
Matrix or data frame of x and y coordinates to be clumped and outlined |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.