Typically called as a sub-function by the user function add.objective
.
See main documentation there.
objective(name, target = NULL, arguments, enabled = TRUE, ...,
multiplier = 1, objclass = "objective")
name of the objective which will be used to call a function, like 'ES', 'VaR', 'mean'
univariate target for the objective, default NULL
default arguments to be passed to an objective function when executed
TRUE/FALSE
any other passthrough parameters
multiplier to apply to the objective, usually 1 or -1
string class to apply, default 'objective'
Brian G. Peterson
add.objective
, portfolio.spec