graph.diversity: Graph diversity

View source: R/centrality.R

graph.diversityR Documentation

Graph diversity

Description

[Deprecated]

graph.diversity() was renamed to diversity() to create a more consistent API.

Usage

graph.diversity(graph, weights = NULL, vids = V(graph))

Arguments

graph

The input graph. Edge directions are ignored.

weights

NULL, or the vector of edge weights to use for the computation. If NULL, then the ‘weight’ attibute is used. Note that this measure is not defined for unweighted graphs.

vids

The vertex ids for which to calculate the measure.


igraph/rigraph documentation built on May 19, 2024, 6:19 a.m.