insert_objectives {PortfolioAnalytics} | R Documentation |
This is a helper function primarily for backwards compatibility to insert objectives from a 'v1_constraint' object into the v2 'portfolio' object.
insert_objectives(portfolio, objectives)
portfolio |
object of class 'portfolio' |
objectives |
list of objective objects |
Ross Bennett