firstS3method: Find the S3 method that will be evaluated when an S3 generic...

Description Usage Arguments Value

Description

Find the S3 method that will be evaluated when an S3 generic is called by an object of class classes

Usage

1
firstS3method(f, classes, envir = parent.frame())

Arguments

f

a character string giving the name of the generic.

classes

a character vector of classes used to search for the appropriate S3 method

envir

the environment in which the method and its generic are searched first.

Value

a S3 method


riskmetric documentation built on July 30, 2021, 1:06 a.m.