Learn R Programming

ISS (version 1.0.0)

get_boundary_points: get_boundary_points

Description

Given a set of points, returns the minimal subset with the same upper hull.

Usage

get_boundary_points(X)

Value

A numeric matrix of the same number of columns as X.

Arguments

X

a numeric matrix with one point per row.

Examples

Run this code
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