equal.weight | R Documentation |
This function calculates objective measures for an equal weight portfolio.
## S3 method for class 'weight'
equal(R, portfolio, ...)
R |
an xts, vector, matrix, data frame, timeSeries or zoo object of asset returns |
portfolio |
an object of type "portfolio" specifying the constraints and objectives for the optimization |
... |
any other passthru parameters to |
This function is simply a wrapper around constrained_objective
to calculate the objective measures in the given portfolio
object of
an equal weight portfolio. The portfolio object should include all objectives
to be calculated.
a list containing the returns, weights, objective measures, call, and portfolio object
Ross Bennett
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.