Learn R Programming

ess (version 1.1.2)

make_null_graph: Make a null graph

Description

A helper function to make an adjacency list corresponding to a null graph (no edges)

Usage

make_null_graph(nodes)

Arguments

nodes

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

Value

An adjacency list the null graph with no edges

Examples

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

Run the code above in your browser using DataLab