extractWeights {PortfolioAnalytics} | R Documentation |
Extract weights from a portfolio run via optimize.portfolio
or optimize.portfolio.rebalancing
Description
This function will dispatch to the appropriate class handler based on the input class of the optimize.portfolio or optimize.portfolio.rebalancing output object
Usage
extractWeights(object, ...)
Arguments
object |
list returned by optimize.portfolio |
... |
any other passthru parameters |
See Also
optimize.portfolio
, optimize.portfolio.rebalancing
[Package PortfolioAnalytics version 2.0.0 Index]