Movatterモバイル変換


[0]ホーム

URL:


rdrr.io

standardGeneric: Formal Method System - Dispatching S4 Methods

standardGenericR Documentation

Formal Method System – Dispatching S4 Methods

Description

The functionstandardGeneric initiates dispatch of S4methods: see the references and the documentation of themethods package. Usually, calls to this function aregenerated automatically and not explicitly by the programmer.

Usage

standardGeneric(f, fdef)

Arguments

f

The name of the generic.

fdef

The generic function definition. Never passed whendefining a new generic.

Details

standardGeneric dispatches the method defined for a genericfunction namedf, using the actual arguments in the frame from whichit is called.

The argumentfdef is inserted (automatically) when dispatchingmethods for a primitive function. If present, it must always be the functiondefinition for the corresponding generic. Don't insert this argumentby hand, as there is no validity checking and miss-specifying thefunction definition will cause certain failure.

For more, use themethods package, and see the documentation inGenericFunctions.

Author(s)

John Chambers

References

Chambers, John M. (2008)Software for Data Analysis: Programming with RSpringer. (For the R version.)

Chambers, John M. (1998)Programming with DataSpringer (For the original S4 version.)


What can we improve?

R Package Documentation

Browse R Packages

We want your feedback!

Note that we can't provide technical support on individual packages. You should contact the package authors for that.

 
Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, readEmbedding Snippets.

Close

[8]ページ先頭

©2009-2026 Movatter.jp