className
Class Name and Package

Description

Creates and manipulates an object containing a class name and package.

Usage

className(class, package)
packageSlot(object)

Arguments

class a character string identifying a class.
package a character string identifying a package. If this is not given, then the function uses the package associated with the class named by class.
object any object.
Value
See Also
setClass
Examples
className("numeric")
## a className object with class "numeric" and package "methods"
className("numeric", "pkg")
## a className object with class "numeric" and package "pkg"

packageSlot(className("numeric", "pkg")) ## "pkg"

Package methods version 6.1.4-13
Package Index