bGraph {classGraph}R Documentation

Create a "Branch Graph", a simple tree with root and n branches / leaves

Description

..

Usage

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

Arguments

n .......
root the node on which to root the tree.
leaves the nodes to be used as leaves.
l.prefix a string specifying .....
weights .......
mode string indicating which mode is to be used.

Value

a graph object of class graphNEL.

Author(s)

Martin Maechler, Aug.2005

See Also

class graphNEL; ftM2graphNEL.

Examples

##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--    or do  help(data=index)  for the standard data sets.


[Package classGraph version 0.7-0 Index]