powered by
Given a set of points, returns the minimal subset with the same upper hull.
get_boundary_points(X)
A numeric matrix of the same number of columns as X.
X
a numeric matrix with one point per row.
X <- rbind(c(0, 1), c(1, 0), c(1, 0), c(1, 1)) get_boundary_points(X)
Run the code above in your browser using DataLab