View source: R/method-extension-class.R
new_method_extension | R Documentation |
Creates an object of class MethodExtension
, which when added to a
Method
creates an ExtendedMethod
.
new_method_extension(name, label, method_extension)
name |
a short name identifier. Must be alphanumeric. |
label |
a longer, human readable label that can have other characters such as spaces, hyphens, etc. |
method_extension |
a function with arguments "model", "draw", "out", and
"base_method". This will become the function |
This class inherits from the Component
class.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.