List all types for a method; types are variants for a given method
defined in a way it is easy to add other variants dynamically (on the contrary
to a usual type = or which = argument, like in plot.ts()
or plot.lm(), respectively.
Usage
listTypes(method, class = "default", strict = FALSE)
Arguments
method
the method name.
class
the class name.
strict
do we list only types for the class (TRUE), or all
possible types, including for inherited objects, and default ones
(FALSE, by default)?
Value
A vector with character strings with methods' type names.
listTypes("view") # All default view types currently definedlistTypes("view", "data.frame")
listTypes("view", "data.frame", TRUE) # None, except if you defined custom views!