new_extended_method: Create an ExtendedMethod object

View source: R/extended-method-class.R

new_extended_methodR Documentation

Create an ExtendedMethod object

Description

Creates a new ExtendedMethod object.

Usage

new_extended_method(name, label, base_method, extended_method)

Arguments

name

a short name identifier. Must be alphanumeric.

label

a longer, human readable label that can have other characters such as spaces, hyphens, etc.

base_method

the object of class Method or of class Method that is being extended

extended_method

a function with arguments "model", "draw", "out", and "base_method".


simulator documentation built on Feb. 16, 2023, 9:34 p.m.