bGraph: create a branch graph

Description Usage Arguments Author(s)

View source: R/class_graph.R

Description

creates a branch graph, a simple tree with root and n branches

Usage

1
2
bGraph(n, root = "Mom", leaves = paste(l.prefix, seq(length = n), sep = ""),
  l.prefix = "D", weights = NULL, mode = c("undirected", "directed"))

Arguments

n

number of leaves

root

the root node

leaves

the named leaves

l.prefix

prefix to use for leaves

weights

weights of edges to the leaves

mode

one of "undirected" or "directed"

Author(s)

Martin Maechler


rmflight/packagestructure documentation built on May 27, 2019, 9:32 a.m.