Learn R Programming

ess (version 1.1.2)

make_complete_graph: Make a complete graph

Description

A helper function to make an adjacency list corresponding to a complete graph

Usage

make_complete_graph(nodes)

Arguments

nodes

A character vector containing the nodes to be used in the graph

Value

An adjacency list of a complete graph

Examples

Run this code
# NOT RUN {
d  <- derma[, 5:8]
cg <- make_complete_graph(colnames(d))
# }

Run the code above in your browser using DataLab