insert_objectives: Insert a list of objectives into the objectives slot of a...

View source: R/objective.R

insert_objectivesR 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


braverock/PortfolioAnalytics documentation built on April 18, 2024, 4:09 a.m.