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 19, 2017, 2 p.m.
Search within the RnavGraph package
Search all R packages, documentation and source code

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

Please suggest features or report bugs in the GitHub issue tracker.

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