Learn R Programming

bde (version 1.0.1.1)

getSubclasses: List of subclasses

Description

This method returns a list containing the name of the class given as parameter and all the subclasses. Virtual classes are excluded from the list.

Usage

getSubclasses(className)

Arguments

className

a string with the name of a S4 class

Examples

Run this code
# NOT RUN {
# show the names of the class BoundedDensity and all its subclasses
getSubclasses("BoundedDensity")

# show the names of the class Chen99Kernel and all its subclasses
getSubclasses("Chen99Kernel")

# }

Run the code above in your browser using DataLab