Weighted K-means via Lloyd's algorithm
Arguments
- x
Data (or formula)
- mu
Initial centers (or number centers chosen randomly among x)
- data
optional data frmae
- weights
Optional weights
- iter.max
Max number of iterations
- n.start
Number of restarts
- init
method to create initial centres (default kmeans++)
- ...
Additional arguments to lower level functions
