classTree {classGraph} | R Documentation |
builds a directed graph, typically a tree from a class Object
Description
From an S4 class, by investigating all subclasses, a inheritance graph is built, a directed graph, often a tree.
Usage
classTree(Cl, all = FALSE, ...)
Arguments
Cl |
class name ... |
all |
logical indicating if all instead of just direct sub-classes should be used. |
... |
.... |
Value
an R object inheriting from class graph
.
Author(s)
Martin Maechler
See Also
class2Graph
, ...
Examples
## Using classes and methods from package 'graph' :
trGclass <- classTree("graph")
as(trGclass, "matrix")
plot(trGclass) # using package 'Rgraphviz'
[Package classGraph version 0.7-6 Index]