Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

getDispatchMethodS3

Gets the S3 method that a generic function would call


Description

Gets the S3 method that a generic function would call according to an S3 class() vector.

Usage

## Default S3 method:
getDispatchMethodS3(methodName, classNames, ...)

Arguments

methodName

A character string specifying the name of a generic function.

classNames

A character vector of class() names.

...

Not used.

Value

Returns a function, or throws an exception if not found.

Author(s)

Henrik Bengtsson

See Also


R.methodsS3

S3 Methods Simplified

v1.8.1
LGPL (>= 2.1)
Authors
Henrik Bengtsson [aut, cre, cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.