superClasses {classGraph} | R Documentation |
List of Super Classes of a Given S4 Class
Description
Give a list
of all super classes of a specific
S4 class (definition).
Usage
superClasses(x)
Arguments
x |
a class representation as returned by
|
Value
a list of length-1 character
strings, typically with a
"package"
attribute each.
Author(s)
Robert Gentleman and Martin Maechler
See Also
subClasses
, ...
Examples
superClasses(getClassDef("graphNEL"))
if(require("Matrix")) {
scL <- superClasses(getClassDef("dgeMatrix"))
str(scL) # a list of two
} # 'Matrix'
[Package classGraph version 0.7-6 Index]