create_s3_method: Create S3 methods
Description
Helper function to create S3 method that preserves (most)
Usage
create_s3_method(generic = NULL, object = NULL)
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.
Arguments
- generic, object
arguments passed to NextMethod