set portfolio moments for use by lower level optimization functions
1 2 | set.portfolio.moments_v1(R, constraints,
momentargs = NULL, ...)
|
R |
an xts, vector, matrix, data frame, timeSeries or zoo object of asset returns |
constraints |
an object of type "constraints"
specifying the constraints for the optimization, see
|
momentargs |
list containing arguments to be passed down to lower level functions, default NULL |
... |
any other passthru parameters |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.