Skip to contents

Check if point input is okay

Usage

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

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.

Value

Point input converted to a matrix.