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

Problem visualize clustering results(dbscan) with outliers. #5

Closed
choonghyunryu opened this issue Feb 13, 2016 · 2 comments
Closed

Comments

@choonghyunryu
Copy link

Returns: "Unknown parameters: shape"

This is because there is a problem in .addoutliers function.

in fviz_cluster.R:
line 581: size = labelsize, vjust = -0.7, color = outlier.color, shape = outlier.shape)

If you remove the "shape = outlier.shape" it operates normally.

Example:

library(dbscan)
scaled_usa <- scale(USArrests)
fit <- dbscan(scaled_usa, eps=1.24, minPts=NCOL(scaled_usa) + 1)
fviz_cluster(fit, data=scaled_usa)
Error: Unknown parameters: shape

Thank you for factoextra.

@kassambara
Copy link
Owner

The unknown parameter shape has been know removed from geom_text.

Thank you for your contribution...

Best Regards,
A. kassambara

@choonghyunryu
Copy link
Author

I have been useful to your solution.
And, thanks to the quick patch.

Best Regards,
Choonghyun Ryu

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