promptMethods {methods} | R Documentation |
Generates a shell of documentation for the methods of a generic function.
promptMethods(f, filename, addTo = FALSE, inherited=FALSE, type = "methods")
f |
The name of the generic function whose methods are to be documented. |
filename |
Optional file on which to write the documentation shell.
If |
addTo |
Optionally, text to add to the shell. This would typically be part of the contents of the documentation file for the generic function, if you want the generic and the methods documented together. |
inherited |
Should inherited methods be included? Default
|
type |
The documentation type to be declared in the output file. |
If filename
is FALSE
, the text generated; otherwise, the
name of the file written.
John Chambers
The web page http://www.omegahat.org/RSMethods/index.html is the primary documentation.
The functions in this package emulate the facility for classes and methods described in Programming with Data (John M. Chambers, Springer, 1998). See this book for further details and examples.
prompt
and
promptClass