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

visHclust() throws Error in match.names(clabs, names(xi)) : names do not match previous names when using reference manual code #468

Open
adcascone opened this issue May 14, 2024 · 0 comments

Comments

@adcascone
Copy link

Hello,

I tried running the following code in the package reference manual on pg. 39 for function visHclust() :

visHclust(iris, cutree = 3, colorEdges = "red")

And I'm seeing this error:
image

I also see the same error when I run this code from the reference manual:

visHclust(iris, cutree = 3, tooltipColumns = c(1, 5),
colorGroups = c("red", "blue", "green"), horizontal = TRUE) 

The above code snippets work when I add argument tooltipColumns = NULL or tooltipColumns = c(1,2) for example. Can you please provide further detail on this argument? Does tooltipColumns only accept the indices of numeric columns?

Note: I'm running visNetwork version 2.1.2 on R 4.3.2

Thank you for the guidance!
Arianna C.

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

1 participant