insert_objectives {PortfolioAnalytics}R Documentation

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(s)

Ross Bennett


[Package PortfolioAnalytics version 1.1.0 Index]