mk_complete_graph: Constructs a complete graph.

Description Usage Arguments Value Author(s) Examples

View source: R/egraph.R

Description

Constructs a complete graph, actually an instance of graph-NEL

Usage

1

Arguments

d

an integer vector of length 1 which specified the number of nodes, a character vector of nodes names, a dist, or a symmetric matrix, either of which specify the nodes and edge weights.

Value

- a graph-NEL

Author(s)

C.B. Hurley and R.W. Oldford

Examples

1
2
3
4
	
require(PairViz)
d <- dist(rnorm(5))
g <- mk_complete_graph(d)

PairViz documentation built on May 29, 2017, 12:23 p.m.