create_s3_method: Create S3 methods

View source: R/create_s3_methods.R

create_s3_methodR Documentation

Create S3 methods

Description

Helper function to create S3 method that preserves (most)

Usage

create_s3_method(generic = NULL, object = NULL)

Arguments

generic, object

arguments passed to NextMethod

Value

Function with arguments "x", "i", and "...". The "i" argument can be thought of as "index" if the method defined is for example the "["-function.


rOpenGov/sweidnumbr documentation built on Jan. 19, 2024, noon