Replace metric `f` with a version that optimizes argument `argname`

optim_metric(f, argname, bounds, tol = 0.01, do_neg = TRUE, get_x = FALSE)

Arguments

f

f

argname

argname

bounds

bounds

tol

tol

do_neg

do_neg

get_x

get_x

Value

None