Learn R Programming

miscFuncs (version 1.5-9)

method: method function

Description

A function to generate a roxygen template for a method of a generic S3 function. Normally, this would be called from the function generic, see ?generic

Usage

method(meth, gen, oname = "obj")

Value

a roxygen template for the method.

Arguments

meth

character, the name of the method

gen

character the associated generic method

oname

name of object