Learn R Programming

causalDisco (version 0.9.5)

maxnedges: 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)

Value

A numeric.

Arguments

p

The number of nodes in the graph