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