listMethods {svMisc} | R Documentation |
List all S3 and/or S4 methods for a generic function.
listMethods(f, S3 = TRUE, S4 = TRUE)
f |
The name of the generic function |
S3 |
If TRUE, list of S3 methods |
S4 |
If TRUE, list of S4 methods |
A list with components:
S3 |
The S3 methods for this generic function, or character(0) if none |
S4 |
The S4 methods for this generic function, or character(0) if none |
Philippe Grosjean <phgrosjean@sciviews.org>
listMethods("t.test") # S3 listMethods("show") # S4 listMethods("ls") # None, not a generic function!