Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

objective

constructor for class 'objective'


Description

Typically called as a sub-function by the user function add.objective. See main documentation there.

Usage

objective(name, target = NULL, arguments, enabled = TRUE, ...,
  multiplier = 1, objclass = "objective")

Arguments

name

name of the objective which will be used to call a function, like 'ES', 'VaR', 'mean'

target

univariate target for the objective, default NULL

arguments

default arguments to be passed to an objective function when executed

enabled

TRUE/FALSE

...

any other passthrough parameters

multiplier

multiplier to apply to the objective, usually 1 or -1

objclass

string class to apply, default 'objective'

Author(s)

Brian G. Peterson

See Also


PortfolioAnalytics

Portfolio Analysis, Including Numerical Methods for Optimization of Portfolios

v1.1.0
GPL-2 | GPL-3
Authors
Brian G. Peterson [cre, aut, cph], Peter Carl [aut, cph], Kris Boudt [ctb, cph], Ross Bennett [ctb, cph], Hezky Varon [ctb], Guy Yollin [ctb], R. Douglas Martin [ctb]
Initial release
2018-05-17

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.