Learn R Programming

R.oo (version 1.2.7)

getMethods.Class: Returns the method names of class and its super classes

Description

Returns the method names of class and its super classes as a list.

Usage

## S3 method for class 'Class}(this, private=FALSE, deprecated=TRUE, unique=TRUE, ...)':
getMethodsundefined

private{If TRUE, private methods are also returned,
    otherwise only public ones are returned.}
  deprecated{If TRUE, deprecated methods are also returned.}
  unqiue{If TRUE, only methods that are not implemented
    in one of the subclasses are returned for each class.}
  ...{Not used.}

Returns a named list of named character strings.

l <- getMethods(Exception)
  print(l)

[object Object]

For more information see Class.



internal
methods
programming

Arguments