method: method function

View source: R/method.R

methodR Documentation

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")

Arguments

meth

character, the name of the method

gen

character the associated generic method

oname

name of object

Value

a roxygen template for the method.


miscFuncs documentation built on Nov. 2, 2023, 5:21 p.m.

Related to method in miscFuncs...