create_s3_method: Create S3 methods

Description Usage Arguments Value

View source: R/create_s3_methods.R

Description

Helper function to create S3 method that preserves (most)

Usage

1
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.


sweidnumbr documentation built on May 30, 2017, 8:16 a.m.