Skip to content

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

Description

@adcascone

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions