graph.density: Graph density

View source: R/structural.properties.R

graph.densityR Documentation

Graph density

Description

[Deprecated]

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

Usage

graph.density(graph, loops = FALSE)

Arguments

graph

The input graph.

loops

Logical constant, whether loop edges may exist in the graph. This affects the calculation of the largest possible number of edges in the graph. If this parameter is set to FALSE yet the graph contains self-loops, the result will not be meaningful.


igraph documentation built on Oct. 20, 2024, 1:06 a.m.