Learn R Programming

PortfolioAnalytics (version 2.0.0)

extractWeights: 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