R/metric.R
optim_metric.Rd
Replace metric `f` with a version that optimizes argument `argname`
optim_metric(f, argname, bounds, tol = 0.01, do_neg = TRUE, get_x = FALSE)
f
argname
bounds
tol
do_neg
get_x
None