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)

Value

An adjacency list of a complete graph

Arguments

nodes

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

Examples

Run this code
d  <- derma[, 5:8]
cg <- make_complete_graph(colnames(d))

Run the code above in your browser using DataLab