generic: generic function
Description
A function to generate roxygen templates for generic funtions and associated methods.
Usage
generic(gen, methods = NULL, sp = 3, oname = "obj")
Value
roxygen text printed to the console.
Arguments
- gen
character string giving the name of an S3 generic.
- methods
character vector: a list of methods for which to provide templates
- sp
the amont of space to put in between functions
- oname
name of the generic object