maxnedges: Compute maximal number of edges for graph

View source: R/misc.R

maxnedgesR Documentation

Compute maximal number of edges for graph

Description

Computes the number of edges a graph with p nodes will have if its fully connected.

Usage

maxnedges(p)

Arguments

p

The number of nodes in the graph

Value

A numeric.


causalDisco documentation built on Jan. 20, 2026, 5:09 p.m.