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

firstS3methodR Documentation

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

Description

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

Usage

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 Sept. 1, 2023, 1:06 a.m.