h_register_s3: Register S3 Method Register S3 method to a generic.

View source: R/utils.R

h_register_s3R Documentation

Register S3 Method Register S3 method to a generic.

Description

Register S3 Method Register S3 method to a generic.

Usage

h_register_s3(pkg, generic, class, envir = parent.frame())

Arguments

pkg

(string) name of the package name.

generic

(string) name of the generic.

class

(string) class name the function want to dispatch.

envir

(environment) the location the method is defined.

Details

This function is adapted from emmeans:::register_s3_method().


mmrm documentation built on Oct. 7, 2024, 1:14 a.m.