powered by
From an S4 class, by investigating all subclasses, a inheritance graph is built, a directed graph, often a tree.
classTree(Cl, all = FALSE, ...)
an R object inheriting from class graph.
graph
class name ...
logical indicating if all instead of just direct sub-classes should be used.
....
Martin Maechler
class2Graph, ...
class2Graph
## Using classes and methods from package 'graph' : trGclass <- classTree("graph") as(trGclass, "matrix") plot(trGclass) # using package 'Rgraphviz'
Run the code above in your browser using DataLab