Nothing
fn
is validatedCode
new_class_metric(1, "maximize")
Condition
Error in `new_metric()`:
! `fn` must be a function.
direction
is validatedCode
new_class_metric(function() 1, "min")
Condition
Error in `new_metric()`:
! `direction` must be one of "maximize", "minimize", or "zero", not "min".
i Did you mean "minimize"?
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.