A Barplot of a Set of Portfolio Weights
Uses the R barplot function to make a barplot of efficient frontier weights. See the manual page for barplot()
barplotWts( wts.efront, legend.text = NULL, col = NULL, ylab = NULL, xlab = c("MU", "VOL"), bar.ylim = NULL, ... )
wts.efront
: Matrix of weights along the efficient frontierlegend.text
: Vector of text for the legendcol
: Vector of colors for the barsylab
: A label for the y axisxlab
: A label for the x axisbar.ylim
: Limits of the y axis for barplot...
: additional parameters from barplotNo return value, just a barplot of efficient frontier weights
args(barplotWts)
Useful links