MethodExtension-class | R Documentation |
An object of class MethodExtension
when added to a Method
creates a ExtendedMethod
.
This class inherits from the Component
class.
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 extended_method
in the ExtendedMethod
object that is created.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.