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/rigraph documentation built on May 19, 2024, 6:19 a.m.