Code
metric_tweak("f_meas2", f_meas, data = 2)
Condition
Error in `metric_tweak()`:
! Arguments passed through `...` cannot be named any of: `data`, `truth`, and `estimate`.
Code
metric_tweak("f_meas2", f_meas, truth = 2)
Condition
Error in `metric_tweak()`:
! Arguments passed through `...` cannot be named any of: `data`, `truth`, and `estimate`.
Code
metric_tweak("f_meas2", f_meas, estimate = 2)
Condition
Error in `metric_tweak()`:
! Arguments passed through `...` cannot be named any of: `data`, `truth`, and `estimate`.
name
must be a stringCode
metric_tweak(1, f_meas, beta = 2)
Condition
Error in `metric_tweak()`:
! `.name` must be a single string, not the number 1.
fn
must be a metric functionCode
metric_tweak("foo", function() { }, beta = 2)
Condition
Error in `metric_tweak()`:
! `.fn` must be a metric function, not a function.
...
must be namedCode
metric_tweak("foo", accuracy, 1)
Condition
Error in `metric_tweak()`:
! All arguments passed through `...` must be named.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.