View source: R/Class-hier-fn.R
classTree | R Documentation |
From an S4 class, by investigating all subclasses, a inheritance graph is built, a directed graph, often a tree.
classTree(Cl, all = FALSE, ...)
Cl |
class name ... |
all |
logical indicating if all instead of just direct sub-classes should be used. |
... |
.... |
an R object inheriting from class graph
.
Martin Maechler
class2Graph
, ...
## Using classes and methods from package 'graph' :
trGclass <- classTree("graph")
as(trGclass, "matrix")
plot(trGclass) # using package 'Rgraphviz'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.