hyunsooseol / snowCluster

This module allows users to analyze k-means & hierarchical clustering, and visualize results of Principal Component, Correspondence Analysis, Discriminant analysis, Decision tree, Multidimensional scaling, Multiple Factor Analysis, Machine learning, and Prophet analysis.
http://www.sthda.com/english/wiki/factoextra-r-package-easy-multivariate-data-analyses-and-elegant-visualization
8 stars 2 forks source link

Error: Duplicate 'row.names' are not allowed #4

Closed DavidEllingsonEddington closed 3 years ago

DavidEllingsonEddington commented 3 years ago

In my data the rows aren't named,so having duplicates is impossible. I get this when using the analyses in snowCluster such as Hierachrical Clustering and PCA plot. My data are attached. When "County" is the label variable this error doesn't occur, but when other Labels such as "3Regions" is selected, the error pops up. WEKA data.csv

hyunsooseol commented 3 years ago

Hi As you can shown below, The name of levels is duplicated. for example, 'Central' is appeared 8 times in the data. In this case, the error message is appeared.

Cheers Seol

이미지 2

jonathon-love commented 3 years ago

hi seol,

it would be nice if you could produce a nice error message which explains what the problem is ...

cheers