Learn R Programming

PortfolioAnalytics (version 1.1.0)

insert_objectives: Insert a list of objectives into the objectives slot of a portfolio object

Description

This is a helper function primarily for backwards compatibility to insert objectives from a 'v1_constraint' object into the v2 'portfolio' object.

Usage

insert_objectives(portfolio, objectives)

Arguments

portfolio

object of class 'portfolio'

objectives

list of objective objects

Author

Ross Bennett