getSubclasses: List of subclasses

View source: R/utils.R

getSubclassesR Documentation

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

# 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")


bde documentation built on June 10, 2022, 5:10 p.m.

Related to getSubclasses in bde...