clusterPoints,GVector-method {fasterRaster} | R Documentation |
Identify clusters of points
Description
clusterPoints()
partitions points in a "points" GVector
into clusters.
Usage
## S4 method for signature 'GVector'
clusterPoints(x, method = "DBSCAN", minIn = NULL, maxDist = NULL)
Arguments
x |
A "points" |
method |
Character: Method used to identify clusters. Explanations of methods are provided in the help page for the GRASS module
Case is ignored, but partial matching is not used. |
minIn |
Integer, numeric integer, or |
maxDist |
Numeric or |
Value
A vector of integers indicating the cluster to which each point belongs.
See Also
GRASS manual page for module v.cluster
(see grassHelp("v.cluster")
)