if target is null, we'll try to maximize the return metric
return_objective(
name,
target = NULL,
arguments = NULL,
multiplier = -1,
enabled = TRUE,
...
)
object of class 'return_objective'
name of the objective, should correspond to a function, though we will try to make allowances
univariate target for the objective
default arguments to be passed to an objective function when executed
multiplier to apply to the objective, usually 1 or -1
TRUE/FALSE
any other passthru parameters
Brian G. Peterson
if target is set, we'll try to meet or exceed the metric, penalizing a shortfall