Skip to content

Error occurs when running VisTextNet #21

@skim-SGFIN

Description

@skim-SGFIN

Dear Prof. Bail,

Thanks for sharing with us a great package and your detailed guidance on the R codes!

For my research, I am analyzing around 2,000 journal article abstracts, and repeatedly running into an error message "Error in if (!is.na(weights)) { : argument is of length zero" when trying to visualize it with the command "VisTextNet". (I finished protecting with the node type being "words"). Not any other option changes - e.g., alpha value or label_degree_cut - do not work, and VisTextNetD3 also does not work either.

Further, for the community detection, though it detects communities, it fails to interpret the modularity class with the command "top_words_modularity_classes" (0 observations are captured through this command).

Any relevant information would be of great help. If you need any additional information, please leave comments in this thread.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions