factoextra
factoextra copied to clipboard
Retrieve the actual clustering from frizz_nbclust
The 'data' attribute returned by frizz_nbclust contains a table with two columns: The number of clusters used and the result of the evaluation metric. I don´t know how I would access the result of the inner clustering function though. Apparently it is used inside frizz_nbclust to evaluate e.g. the silhouette but I don´t see it being exported anywhere. Of course I could write a wrapper for the clustering method using global assignment at every call to keep the results of the inner function, but I fear that this might get messed up in parallelized computation. Is there a fix to this? Or is it just that I dodn´t see something that is already there? Thanks for help