classContains: Get the class contained in a specificed class definition

View source: R/classContains.R

classContainsR Documentation

Get the class contained in a specificed class definition

Description

Determine which class is contained (extended) in the requested class definition.

Usage

classContains(class, package)

Arguments

class

character(1). Class name.

package

character(1). Package name.

Value

character(1). Name of extended class.

Note

Updated 2021-01-28.

See Also

  • methods::getClass().

  • help("classRepresentation-class", "methods")

Examples

x <- classContains(class = "data.frame", package = "methods")
print(x)

acidgenomics/acidbase documentation built on Jan. 26, 2024, 4:26 p.m.