Description Usage Arguments Value
View source: R/cma.initialize.r
This function adds a contraint to a cma
1 | cma.add.constraint(constraint, constraint.name, cma)
|
constraint |
a numeric vector with length equal to number of classes. The dot (scalar) product of this vector and the portfolio weights must be at least zero to satisfy the constraint. |
constraint.name |
Name of constraint. Default NULL. |
cma |
Capital market assumption object |
A cma with the constraint added.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.