get_assignment: Assignment Data Points to Clusters
Description
Get the assignment of data points to clusters in a DSC
(nearest-neighbor).Usage
get_assignment(dsc, points, type=c("auto", "micro", "macro"), ...)
Arguments
dsc
The DSC object with the clusters for assignment.
points
The points to be assigned as a data.frame.
type
Use micro- or macro-clusters in DSC for assignment. Auto
used the class of dsc to decide.
...
Additional arguments are passed on.
Value
- A vector containing the assignment of each point.
Details
Each data point is assigned to its nearest cluster using Euclidean distance.