optimize.portfolio or efficient.frontier objects
chart.EfficientFrontier(object, ...)
"chart.EfficientFrontier"(object, ..., match.col = "ES", n.portfolios = 25, xlim = NULL, ylim = NULL, cex.axis = 0.8, element.color = "darkgray", main = "Efficient Frontier", RAR.text = "SR", rf = 0, tangent.line = TRUE, cex.legend = 0.8, chart.assets = TRUE, labels.assets = TRUE, pch.assets = 21, cex.assets = 0.8)
"chart.EfficientFrontier"(object, ..., match.col = "ES", n.portfolios = 25, xlim = NULL, ylim = NULL, cex.axis = 0.8, element.color = "darkgray", main = "Efficient Frontier", RAR.text = "SR", rf = 0, tangent.line = TRUE, cex.legend = 0.8, chart.assets = TRUE, labels.assets = TRUE, pch.assets = 21, cex.assets = 0.8)
"chart.EfficientFrontier"(object, ..., match.col = "ES", n.portfolios = NULL, xlim = NULL, ylim = NULL, cex.axis = 0.8, element.color = "darkgray", main = "Efficient Frontier", RAR.text = "SR", rf = 0, tangent.line = TRUE, cex.legend = 0.8, chart.assets = TRUE, labels.assets = TRUE, pch.assets = 21, cex.assets = 0.8)plotmatch.col must match the name of an objective measure in the
objective_measures or opt_values slot in the object created
by optimize.portfolio.plot.plot.rf is not null, the maximum Sharpe Ratio or modified Sharpe Ratio tangency portfolio will be plotted.chart.assets must be TRUE to plot asset names.plot.optimize.portfolio.
For objects created by optimize.portfolio with 'ROI' specified as the optimize_method:
optimize.portfolio.
match.col="StdDev", the mean-StdDev efficient frontier is plotted.
match.col="ETL" (also "ES" or "CVaR"), the mean-ETL efficient frontier is plotted.
Note that trace=TRUE must be specified in optimize.portfolio
GenSA does not return any useable trace information for portfolios tested at each iteration, therfore we cannot extract and chart an efficient frontier.
By default, the tangency portfolio (maximum Sharpe Ratio or modified Sharpe Ratio)
will be plotted using a risk free rate of 0. Set rf=NULL to omit
this from the plot.