create_s3_method {sweidnumbr}R 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.


[Package sweidnumbr version 1.5.0 Index]