s3_methods_class | R Documentation |
Returns information about all methods belong to a generic or a class.
In S3 and S4, methods belong to a generic, but it is often useful to see what
generics have been provided methods for a given class. These are
wrappers around utils::methods()
, which returns a lot of useful information
in an attribute.
s3_methods_class(x)
s3_methods_generic(x)
s4_methods_class(x)
s4_methods_generic(x)
x |
Name of class or generic |
A tibble with columns generic
, visible
, class
, visible
,
and source
.
s3_methods_class("Date")
s3_methods_generic("anova")
s4_methods_class("Date")
s4_methods_generic("anova")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.