Learn R Programming

PortfolioAnalytics (version 1.0.3636)

constraint_v2: constructor for v2 constraint specification

Description

See main documentation entry in add.constraint.

Usage

constraint_v2(type, enabled = TRUE, ..., constrclass = "v2_constraint")

Arguments

type
character type of the constraint to add or update
enabled
TRUE/FALSE to enabled the constraint
...
any other passthru parameters
constrclass
name of class for the constraint