Learn R Programming

mathart (version 0.0.0.9000)

concave_hull: Concave hull

Description

Computes the concave hull for a set of points (wrapper for concaveman::concaveman)

Usage

concave_hull(points, concavity = 1, length_threshold = 0)

Arguments

points

A data frame of points.

concavity

A value that determines the concavity (1 = detailed shape, Inf = convex hull).

length_threshold

Segment lengths less than this threshold are not considered; higher values give simpler shapes.

Examples

Run this code
# NOT RUN {
concave_hull()
# }

Run the code above in your browser using DataLab