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 May 12, 2022, 9:05 a.m.