maxnedges {causalDisco}R 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.


[Package causalDisco version 0.9.1 Index]