completegraph: Create a complete graph of class graphAM

Description

(From Wikipedia) A complete graph is a simple graph in which every pair of distinct vertices is connected by a unique edge.

Usage

1
completegraph(nodeNames)

Arguments

nodeNames

Numeric or character string vector.

Value

graphAM object.

Author(s)

Adrian Waddell and R. Wayne Oldford

See Also

navGraph, newgraph, linegraph

Examples

1
2
G1 <- completegraph(1:10)
G2 <- completegraph(LETTERS[1:7])

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.