the method to use to clusterize the data. Implemented
methods are:
'k-means' for k-means algorithm. Requires parameter k.
'grid' for clustering based on grid partition. Requires parameter grid.
'AP' for affinity propagation algorithm.
k
parameter k
grid
a vector with the grid size for the 'grid' method
...
additional parameters for apcluster and apclusterK
Value
A list with:
clusters -> a numeric vector with the ids of the clusters
centers -> a data frame with the centers of the clusters