Learn R Programming

loon (version 1.4.1)

ndtransitiongraph: Create a n-d transition graph

Description

A n-d transition graph has k-d nodes and all edges that connect two nodes that from a n-d subspace

Usage

ndtransitiongraph(nodes, n, separator = ":")

Value

graph object of class loongraph

Arguments

nodes

node names of graph

n

integer, dimension an edge should represent

separator

character that separates spaces in node names

Details

For more information run: l_help("learn_R_display_graph.html.html#graph-utilities")

Examples

Run this code
g <- ndtransitiongraph(nodes=c('A:B', 'A:F', 'B:C', 'B:F'), n=3, separator=':')

Run the code above in your browser using DataLab