Inject an argument or override the return value of a method within a Stat
1 2 | inject_data_into_stat_function(OriginalStat, method, args = NULL,
return_value = NULL)
|
OriginalStat |
the actual Stat |
method |
the method name to inject data into |
args |
named list of values to insert at the beginning of the method. Usually to override arguments. Default: NULL (i.e. no injection) |
return_value |
the value to return from the method (overriding the actual value). Default: NULL (i.e. no injection) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.