| new_metric | R Documentation | 
Creates a new Metric object.
new_metric(name, label, metric)
| name | a short name identifier. Must be alphanumeric. | 
| label | a longer, human readable label that can have other characters such as spaces, hyphens, etc. | 
| metric | a function with arguments "model" and "out" (and optionally "draw") | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.