numberOfValues: Get the number of values of a given variable in the graph
Description
Get the number of values of a given variable in the graph
Usage
numberOfValues(graph, varname)
Value
An integer greater than 1. The number of values of 'varname'.
Arguments
- graph
An igraph object.
- varname
A string. The name of a vertex in 'graph'.