Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug introduced in factoextra v1.0.4: fviz_cluster() for HCPC objects #34

Closed
famuvie opened this issue May 23, 2017 · 1 comment
Closed

Comments

@famuvie
Copy link

famuvie commented May 23, 2017

MRE:

The following works in factoextra v1.0.3 but not in v1.0.4

library(FactoMineR)
library(factoextra)
data(iris)
res.pca <- PCA(iris[,1:4], graph=FALSE)
hc <- HCPC(res.pca, nb.clust=-1)
fviz_cluster(hc)
#> Error in fviz_cluster(hc): object 'res.hcpc' not found

The problem is in line 145, where I think it should read "object" rather than "res.hcpc".

kassambara added a commit that referenced this issue May 23, 2017
@kassambara
Copy link
Owner

fixed now, thanks!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants