inCR: Check if a new point lies in the convex hull of some given...

Description Usage Arguments Value

View source: R/5 coverage analysis.R

Description

Check if a new point lies in the convex hull of some given points.

Usage

1
inCR(old_points, new_point)

Arguments

old_points

a matrix; it contains the coordinates of the set of given points

new_point

a vector; it contains the coordinate of the new point

Value

a boolean; it indicates wether the new point is in the convex hull (TRUE) or not (FALSE)


PengChenEngineer/OptRegionGRFr documentation built on July 23, 2018, 12:10 a.m.