getPackage.Class {R.oo}R Documentation

Gets the package to which the class belongs

Description

Gets the package to which the class belongs.

Usage

## S3 method for class 'Class':
getPackage(this, ...)

Arguments

... Not used.

Value

Returns a Package.

Author(s)

Henrik Bengtsson (http://www.braju.com/R/)

See Also

Package. class(). setConstructorS3(). For more information see Class.

Examples

  print(getPackage(Object))

[Package R.oo version 1.6.5 Index]