completegraph: Create a complete graph of class graphAM

Description Usage Arguments Value Author(s) See Also Examples

View source: R/graphtools.R

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

RnavGraph documentation built on May 29, 2017, 4:18 p.m.