Learn R Programming

gMOIP (version 1.5.3)

.checkPts: Check if point input is okay

Description

Check if point input is okay

Usage

.checkPts(pts, p = NULL, warn = FALSE, stopUnique = TRUE, asDF = FALSE)

Value

Point input converted to a matrix.

Arguments

pts

Point input.

p

Desired dimension of points.

warn

Output warnings.

stopUnique

Stop if rows not are unique.

asDF

Return as data frame otherwise as matrix.