generic | R Documentation |
A function to generate roxygen templates for generic funtions and associated methods.
generic(gen, methods = NULL, sp = 3, oname = "obj")
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 |
roxygen text printed to the console.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.