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

could not find function "FUNcluster" #82

Closed
kulbhooshanP opened this issue Dec 10, 2018 · 3 comments
Closed

could not find function "FUNcluster" #82

kulbhooshanP opened this issue Dec 10, 2018 · 3 comments

Comments

@kulbhooshanP
Copy link

kulbhooshanP commented Dec 10, 2018

ERROR: Error in FUNcluster(x, i, ...) : could not find function "FUNcluster"

fviz_nbclust(df, kmeans, method = "wss") +

  • geom_vline(xintercept = 4, linetype = 2)+
  • labs(subtitle = "Elbow method")

Error in FUNcluster(x, i, ...) : could not find function "FUNcluster"

fviz_nbclust(df, kmeans, method = "silhouette")+

  • labs(subtitle = "Silhouette method")
    Error in FUNcluster(x, i, ...) : could not find function "FUNcluster"

image

@kassambara
Copy link
Owner

This issue is not reproducible

@robsalasco
Copy link

robsalasco commented Sep 21, 2019

This error happens when the FUNCluster argument isn't a function. Check first if you're not overriding the kmeans function somewhere. @kassambara maybe a validation in fviz_nbclust code would be useful?

@kassambara kassambara reopened this Sep 21, 2019
kassambara added a commit that referenced this issue Sep 21, 2019
@kassambara
Copy link
Owner

@robsalasco updated now to take into account your suggestion, 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

3 participants