This function returns the index we want to maximize on the set of potential clusters, for each potential cluster
pointwise_wmw_uni(rank_data, matrix_clusters)
numeric vector.
matrix. Matrix of the ranks of the data for each time. Each column corresponds to an observation time and each row corresponds to a site or an individual.
numeric matrix. Matrix in which each column represents a potential cluster. It is the result of the "clusters" function.