subClassNames: Functions to return the names of either subclasses or...

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/class.R

Description

Given the name of a S4 class, or a S4 classRepresentation object, these functions return either the names of the direct subclasses or of the direct superclasses.

Usage

1
2

Arguments

x

Either the name of a class, or an instance of classRepresentation.

Details

If a name is given then getClass is used to get the class representation object.

Value

A character vector, listing either the direct subclasses or the direct superclasses, depending on which function was called.

Author(s)

R. Gentleman

See Also

getClass

Examples

1
2
 subClassNames("matrix")
 superClassNames("matrix")

RBioinf documentation built on Nov. 8, 2020, 11:11 p.m.