SelectPoints {LearnGeom} | R Documentation |
Selection of points from the coordinate plane
Description
SelectPoints
allows the selection of points from the coordinate plane
Usage
SelectPoints(n)
Arguments
n |
Number of points to select from the current coordinate plane |
Value
Returns a vector or matrix which contains the xy-coordinates of the selected points. Each row represents one of the points. If n = 1
the output is a numeric vector, if n = 2
then it is a Segment
, and for n > 2
the object is a polygon.
Examples
n <- 3
points <- SelectPoints(n)
[Package LearnGeom version 1.5 Index]