lengthahull | R Documentation |
This function calculates the length of the boundary of the α-convex hull of a given sample.
lengthahull(ahull.arcs)
ahull.arcs |
Output matrix of arcs returned by |
The function lengthahull
is internally called by the function ahull
.
length |
Length of the boundary of the α-convex hull. |
ahull
.
## Not run: # Random sample in the unit square x <- matrix(runif(100), nc = 2) # Value of alpha alpha <- 0.2 # alpha-convex hull ahull.obj <- ahull(x, alpha = alpha) # Length of the alpha-convex hull ahull.obj$length ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.