true_labels: a numeric vector of length equal to the length of the clusters vector
clusters: a numeric vector ( the result of a clustering method ) of length equal to the length of the true_labels
method: one of rand_index, adjusted_rand_index, jaccard_index, fowlkes_Mallows_index, mirkin_metric, purity, entropy, nmi (normalized mutual information), var_info (variation of information), and nvi (normalized variation of information)
summary_stats: besides the available methods the summary_stats parameter prints also the specificity, sensitivity, precision, recall and F-measure of the clusters
Returns
if summary_stats is FALSE the function returns a float number, otherwise it returns also a summary statistics table
Details
This function uses external validation methods to evaluate the clustering results