Create a complete graph of class graphAM

Share:

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])

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.