deficiency: A function to calculates the deficiency of a node

Description Usage Arguments

View source: R/deficiency.R

Description

The deficiency of a node in a graph is the number of edges, adding which make the node's neighbours a complete subgraph (or a clique).

Usage

1
deficiency(graph, x)

Arguments

graph

A graph that is stored in an adjacency matrix.

node

A node that is expressed in text, e.g. "V1" or "X1".


kelvinyangli/wrsgraph documentation built on Sept. 6, 2019, 10 a.m.