Skip to content

match.arg() error #1

@cbknox

Description

@cbknox

Hi, I was running through this example and ran into the following error when trying to use get_distance_matrix():

ERROR! Wrong type of Laplacian, available types are:
Laplacian Normalized Laplacian Quantum Laplacian MERW Normalized Laplacian
Aborting process.
Error in match.arg(toupper(type), types) :
'arg' should be one of “Laplacian”, “Normalized Laplacian”, “Quantum Laplacian”, “MERW Normalized Laplacian”

I tried specifying the type, not specifying the type to let the default be selected, and different igraph objects and still get the same error. I copied the example code directly, so not an issue with spelling or something like that. Likely the problem is with match.arg? Or toupper()?

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