affectIndiv
affecte each individual to the cluster whose center is the closest.affectIndiv(traj, clustersCenter, distance = "euclidean", power = 2)power
give the power to use.[LongitudinalData]{Partition} .
affectIndiv does.
Note that affectIndiv does not work with
ClusterizLongData object but with a matrix.
affectIndiv used with calculMean does simulate one k-means step.
This function is programmed in C, it is expect to be fast.