Learn R Programming

R.oo (version 1.26.0)

getPackage.Class: Gets the package to which the class belongs

Description

Gets the package to which the class belongs.

Usage

# S3 method for Class
getPackage(this, ...)

Value

Returns a Package.

Arguments

...

Not used.

Author

Henrik Bengtsson

See Also

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

Examples

Run this code
  print(getPackage(Object))

Run the code above in your browser using DataLab