powered by
Give a list of all super classes of a specific S4 class (definition).
list
superClasses(x)
a list of length-1 character strings, typically with a
character
"package" attribute each.
"package"
a class representation as returned by getClassDef.
getClassDef
Robert Gentleman and Martin Maechler
subClasses, ...
subClasses
superClasses(getClassDef("graphNEL")) if(require("Matrix")) { scL <- superClasses(getClassDef("dgeMatrix")) str(scL) # a list of two } # 'Matrix'
Run the code above in your browser using DataLab